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.

Akshay

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to