> Anyways, the other way to do what you are asking is: > rsync -azvi --exclude-from=excludes.txt --delete --delete-excluded / > user@hostname: > > excludes.txt: > + / > + /etc > + /etc/** > + /home > + /home/*/ > + /home/*/.maildir/ > + /home/*/.maildir/** > - - *
So the includes are in excludes.txt prefixed with "+ " and the excludes are prefixed with "- - "? If I want to rsync the /var/lib/portage/world file I should add the following to excludes.txt? + /var + /var/lib + /var/lib/portage + /var/lib/portage/world Also I think --delete-excluded implies --delete. - Grant -- 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
