Rob Campbell
2022-Dec-23 20:59 UTC
Not removing source files when using --remove-source-files
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'- *' linuxuser at 10.0.0.11:/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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20221223/60840eb2/attachment.htm>