> -----Original Message-----
>
> ...omissis...
>
> I'm stuck.
>
> Giampaolo
Ok, I've found why. It seems that one can't put all the filtering patterns
in a single '--filter=...' option, but instead each filtering pattern has to
be specified by its own option.
This seems to work to me:
rsync -auEAXDSz --delete-after --numeric-ids --compress-level=9 --stats
--super --bwlimit=15 --progress -e 'ssh -oCompression=no' '--filter=+ /*/'
'--filter=+ /*/users/' '--filter=+ /*/users/*/' '--filter=+
/*/users/*/.mail/' '--filter=+ /*/users/*/.mail/**' '--filter=- /**'
u...@oldserver:/srv/vhome/ /srv/vhome/
It seems to me this is not well explained in the rsync manpage, but maybe I
didn't pay enough attention to it.
Thanks everybody,
Giampaolo
--
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