Hi, I'm using rsync to transfer some files from host A to B and using --remove-source-files to remove them from A after the transfer. Now however I have one file 'md5sum' which should be transfered but not removed. I tried the protect filter rule but this seems not to work in this case. All other ways I tried don't work either.
Does anyone know how to do this using a single rsync call? I know I could transfer the md5sum file first in a separate rsync operation and then exclude it from the second one, but I'm looking for a single-rsync-operation solution. Thanks, Martin -- View this message in context: http://www.nabble.com/Exclude-some-source-files-from-being-deleted-when---remove-source-files-is-used-tp21702836p21702836.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- 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