[CentOS] rsync question

Tue Apr 8 16:58:10 UTC 2008
Nicolas KOWALSKI <niko at petole.dyndns.org>

Anne Wilson <cannewilson at googlemail.com> writes:

> The command is
>
> rsync -auvz --delete-after --exclude-from=/home/anne/rsync_skiplist_mail.txt /home/anne/Maildir/ /Data3/anne/Maildir/

The roots are the Maildirs themselves, so it should not be necessary
to re-specify them in the exclude list.

> where rsync_skiplist_mail.txt says
>
> *~
> .[a-z]*
> .[A-Z]*
> Maildir/.INBOX.Bugs/
> Maildir/.Trash/

I would use instead:

/.INBOX.Bugs/
/.Trash/

Not sure what the others are supposed to match...

> Comments, please?

Hope this helps,
-- 
Nicolas