Not removing source files when using --remove-source-files
Rob Campbell via rsync <[email protected]>
| Newsgroups | gmane.network.rsync.general |
|---|---|
| Message-ID | <CAHej=pVFdUQAYzT-17+7_43_ErNLa4ncCPowN99bpU_0ovr=fw@mail.gmail.com> |
I have rsync -rvz --prune-empty-dirs --remove-source-files --log-file="rsync.log" --backup -e 'ssh' -f'- Saved/*' -f'- Screenshots/*' -f'- Boondocks/*' -f'- Dilbert/*' -f'+ */' -f'+ /*' -f'+ *.jp*g' -f'+ *.png' -f'+ *.nef' -f'+ *.gif' -f'- *' [email protected]:/home/linuxuser/Pictures/ /mnt/c/users/windowsuser/ The files are transferred but they are not removed from the source. I've deleted all files and directories from the target and tried again but still, it didn't remove the source. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In all things, Be Intentional. -- 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