mario at dedenet.de
Thu Jul 21 16:43:41 GMT 2005
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? :)
More information about the rsync