Filter rule for --remove-sent-files?
akshayk_iitb at yahoo.co.in
Wed Aug 8 22:23:18 GMT 2007
I want to transfer a bunch of files, and then delete only those files
from the source that match a certain pattern. It would be nice to have a
filter rule to specify include and exclude patterns for the
--remove-sent-files option. As far as I know, currently there is no such
rule. The way I'm doing it is, I first transfer those files which I
don't want to delete from the source after transfer, and then, using
--remove-sent-files, transfer those that I want to delete. This requires
running rsync twice.
More information about the rsync