I was trying to use rsync to move over a TB of files from one device on my gigabit LAN to the machine I am on and wanted to be able to see the progress of rsync. from my machine (fedora 31) I started off with:
rsync -avhc -stats --no-i-r --info=progress2 --remove-source-files zorp@192.168.1.101:/mnt/md0/dirs/* .When using the above line it has stayed at "receiving file list ..." for over a day now, I assume because my little NAS (which is running a Debian bare bones installation) is trying to calc checksums for over a TB of files which is ok but I really wanted to have an idea of how far along it is, the progress its making, in terms of calculating those checksums - as it is now it could be totally hung for all i know.
I have tried combinations of the line above adding in -P and -vv and --partial --progress along with taking out things like -stats --info=progress2 though from what i read in the man page it didnt seem like taking those out should make a difference but i am stumped. When I add -P it does give me "to-chk=N/NN" but thats after it sat "building file list ..."
1 Answer
You need to use the --progress or -P option which show progress during file transfer. The syntax is as follows:
rsync --progress source dest
rsync -P source dest
rsync [options] --progress source destYou are trying --info=progress2, which only works on latest version of rsync.
Try again and I hope it will work fine. :)
5