Ad

nicholas
asked Feb 09 2017
Answer
rsync can delete files after transfer it. With the Option -e ssh is your transfer also secure ...
Here is an example: rsync -avr --remove-sent-files -e ssh user@server.com:/backup/ /volume1/daten/backup/

ascotlx
asked Feb 08 2017
edited Oct 05 2018
Removing source files after send to destination in Linux
I need to move the files from one machine to another, It could be done either by SCP or RSYNC. Which will be the better one and also once it moved successfully to the destination, those files should be removed.