Hello, I want to copy some stuff via rsync from one host to another and delete the deleted files afterwards (--delete-after).
I have one folder, that I don't want to get deleted though. For that I used the filter -f 'P /dir/*' but it seems that it only works for /dir/* and not /dir/bla/* Do I have to write -f 'P /dir/*' -f 'P /dir/*/*/' -f 'P /dir/*/*/*' ... in order to get it to work, or is there a smarter way? :) Regards, Mario. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html