Using rsync for a backup program but having trouble getting
--exclude-from to work properly
ɹןʇnqן
lbutler+rsync at covisp.net
Thu Apr 16 09:40:10 GMT 2009
On 15-Apr-2009, at 14:19, Robert Parker wrote:
> rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir
> $todir
> /home/bob/.mozilla/firefox/
The / in the exclude-from is relative to the starting directory, not
an absolute path. So what you are excluding is '$fromdir/home/
bob/.mozilla/firefox/'.
--
Gentlemen, you can't fight in here! This is the War Room.
More information about the rsync
mailing list