I do stuff such as :-
$ copy debian-8.2.0-amd64-DVD-1.iso /media/shirish/4719-38E5/
Copy here is an alias for :-
$ alias copy alias copy='rsync --progress -ravz'
When it does the command it takes a long time to complete and does :-
$ copy debian-8.2.0-amd64-DVD-1.iso /media/shirish/4719-38E5/ sending incremental file list debian-8.2.0-amd64-DVD-1.iso 3,607,855,104 100% 9.11MB/s 0:06:17 (xfr#1, to-chk=0/1) sent 3,466,268,276 bytes received 35 bytes 3,481,937.03 bytes/sec total size is 3,607,855,104 speedup is 1.04
Now I have two questions :-
a. -z in rsync is not documented, does anybody know what does it do ? It is very much possible that the flag was there before and is no longer there.
Another thing, does anybody know what
xfr#1, to-chk=0/1 actually do ?
I usually perform
sync after the command is finished, does anybody know if it's ok to use it or not as copying takes a long time.
Also can people some nicer, better ways so I could use an alias to accomplish the same. For me having progress is important. Few months ago, I did come across an advanced
cp which also has a progress bar for showing the progress of a file being copied.
Hopeful of a quick resolution of the above.