On Thu 16 Apr 2009, Robert Parker wrote:

> fromdir=/home/bob/
> rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir $todir

> Here is the content of the exclude file
> 
> /home/bob/.mozilla/firefox/

If you're passing /home/bob/ as the source dir, then you have to remove
/home/bob from the exclude patterns as those patterns are relative to
the transfer source. I.e.

/home/bob/.mozilla/firefox/
etc.

becomes

/.mozilla/firefox/
/Ebooks.desktop
/Office.desktop
/Pictures.desktop
/Programs.desktop


Paul
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to