Dengan progress total % :
rsync -arh --info=progress2 --no-i-r [source] [destination]
Dengan progress one-by-one file:
rsync -arvh [source] [destination]
To test and compare copy, n
untuk test:
rsync -arnvh [source] [destination]
Verbose dengan bandwith limit untuk HDD power, and save the list into logs
rsync -arvvvhP --bwlimit=3000 [source] [destination] | tee logs.txt
-a
: archive mode, perserve timestamp, acl, recursively, etc
-n
: run dry as test mode, can be used to compare current files
-vvv
: verbose mode
h
: human readable
-P
: show progress
--bwlimit
: limit transfer rate
| tee logs.txt
: display output and save to file (overridee). Use tee -a
to append
To run copy
rsync -avvvhP [source dir] [destination dir] | tee logs.txt
To run and display log