scp vs rsync
I have a need to copy large files over slow network, and that transfer is prone to failure. In addition, I need to remove the source file once transferred.
Im trying to compare the pros/cons of scp vs rsync to do this reliably.
As I understand, scp uses some form of validation to ensure the file is transferred correctly (validated). However, scp doesn't provide for removing the source file on successful transfer.
Does rsync also allow for validation of the copy to the remote host and if so, how does one do that in an efficient manner for large files?
I know I can get rsync to remove the source, but I need to make 100% sure the transfer is validated prior to the source being deleted. Not sure rsync is up to this task, but if it's possible can someone clue me in to the correct usage?
|