Using rsync for a backup program but having trouble getting --exclude-from to work properly

ɹןʇnqן lbutler+rsync at
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/ 

Gentlemen, you can't fight in here! This is the War Room.

More information about the rsync mailing list