rsync Command
#rsync-av--progress/mnt/yidong2/full20100526.tar.gz/mnt/yidong1/
[above command] can realize the machine with a progress bar prompt copy, can realize different machine with progress bar prompt copy, can copy multiple files
SCP Command
#scp-V/mnt/yidong2/full20100526.tar.gz/mnt/yidong1/
[Above command] native copy cannot show progress
#scp-V/mnt/yidong2/full20100526.tar.gz root@192.168.1.1:/mnt/yidong1/
[above command] different machine copies can display the progress bar, even without the "-V" parameter can also display the progress bar
#scp-V/mnt/yidong2/full20100526.tar.gz root@127.0.0.1:/mnt/yidong1/
[Above command] In disguise to implement the machine with a progress bar prompt copy, you can without "-V" parameter
CP Command
Not found with progress bar hint copy, have know friend please share, thank you.
about Rsync, SCP, CP copy Speed
I made a simple test to copy a 240M file for reference only
#cp full20100526.tar.gz Full20100526.tar.gz.bak
Very fast
#rsync-av--progress full20100526.tar.gz Full20100526.tar.gz.bak
Faster (113.10MB/S)
#scp-V full20100526.tar.gz root@127.0.0.1:/root/full20100526.tar.gz
A bit slow (26.9mb/s)
method to confirm CP copy Speed
#cp full20100526.tar.gz full20100526.tar.gz.bak1 && full20100526.tar.gz.bak1 FULL20100526.TAR.GZ.BAK2
#stat FULL20100526.TAR.GZ.BAK1
access:2010-06-11 11:02:01.000000000 +0800
modify:2010-06-11 11:01:58.000000000 +0800
change:2010-06-11 11:01:58.000000000 +0800
#stat FULL20100526.TAR.GZ.BAK2
access:2010-06-11 11:01:58.000000000 +0800
modify:2010-06-11 11:02:01.000000000 +0800
change:2010-06-11 11:02:01.000000000 +0800 Related content tags: rsync scp