Sifter Configuration Guide

These are instructions for configuring sifter after installation. You should already have a rough idea what the program does, and how it behaves before you try to configure it.

You need to put a configuration file called .siftrc in your home directory. This is the master master configuration file. It tells sifter which computers you wish to share files with, how you will connect with these files, and which are the main or root directories that should be transfered.

It also has a set of translation rules that tell sifter how it should rename files during transfer, or which files should not be transfered at all.

You may also put a file called .siftrc in any subdirectory where you want to override the translation rules defined in your home directory. These rules are only valid in the directory where the file is found, and any of its subdirectories.

You may wish to look at my configuration file for an example. I will discuss it in more detail later in this description.

Or you may want to start with a simple configuration file. It probably sends more files than you really want to.

Regular Expressions

The configuration file can use regular expressions in many places. There are two forms that a regular expression can take:

File Format

What's in the .siftrc file:

Example

As an example, here is the configuration file I'm using. I have access to three machines: my home machine, which I've named "goose", running linux. My PC at work, with a hostname of "ex129927.rdyne.boeing.com", and a farm of Sun machines named "us200", "us201", "us202", .... and their file server "goliath". The Sun machines run some type of Solaris or SunOS. I can only access Goliath through samba, so I can't keep my file permissions straight without using sifter.

Mostly I want to transfer my source code, and my .Xdefault type files. However, I want to keep different versions of .Xdefault files since there is some difference between the machines.

I have decided that most of the files I have in my root (home) directory do not need to be transfered, so I set up the configuration to send an explicit list, and then ignore any other file in my home directory. This works, since sifter only uses the first translation that matches.

I have a different user ID at home and work (but that part of the code doesn't work yet...)

We are behind a firewall at work, so when I take files home, I use a floppy drive. I rarely need more than one floppy, but sometimes I do.


Main Page --- Fred Gylys-Colwell --- Last Revised: January 19, 2005