0

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.

nicholas
asked Feb 9, 2017
1 Answer
0

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/

View More
ascotlx
answered Feb 8, 2017
Your Answer
||||
x
 
100:0