---------SETTINGS---------
$backupTo is the top-level
backup directory. The script will
create directories within it that correspond to the source directories.
@sources is a list of directories to copy. Invisible files & directories (those whose filenames start with a dot ('.') are copied also, unless, of course, they're on the blacklist.
@blacklist is a list of files & directories within the source tree to skip. They can be listed in any order. A simple way to create this list is to watch the output while running backup. If it's copying something you don't want copied, cut-and-paste the filename or directory name from the output into the blacklist, and run again.
$apple: If 'yes', use CpMac
instead of cp, to copy resource
forks. See caveats below.
$cull: If 'no',
directories in
destination directory not matching ones in
source directories will be left, instead of being removed.
$verbose: 0=silent, 1=basic, 2
& 3 are extra-wordy for debugging.
$test: If
'yes', report what
would be copied but don't copy. Does,
however, create directories.
---------CAVEATS---------
To use on Macs, you must have developer tools installed, or at least
the utility /Developer/Tools/CpMac.
Can't copy filenames containing '$'.. not sure why.
This program is free software; you can
redistribute it and/or modify it as you wish.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.