I am trying to copy large amounts of data using SSH so all I have is the CLI. I am using the cp -a /source/* /dest/
method but I can't tell how fast it is copying or what the progress is. Is there anything I can add to this command to see this info?
-
@bodhi.zazen OP's connecting via SSH, but all the copying is done on the remote system itself from what I can tell.– muruOct 27, 2014 at 17:38
-
I would still use rsync, more with large files as it eliminates duplication of effort.– PantherOct 27, 2014 at 18:09
-
@bodhi.zazen that's the third suggestion in askubuntu.com/questions/17275/progress-and-speed-with-cp– muruOct 27, 2014 at 18:34
1 Answer
I'd suggesting using rsync
instead:
rsync -aP /source/* /dest/
It's the P
argument here doing most of the magic. It should show you an accurate enough progress report for each file.