Tuesday, July 12, 2016

Copy large number of items in the background with rsync

rsync -ahuv --log-file=/tmp/rsync07082016.log foldertocopy destination

options:
a archive
h display human readable
u update only – do not copy items already in the folder
v verbose


After running rsync command, click Ctrl+z
Then type bg to triger it on the background
You can monitor the output with tail -f /tmp/rsync07082016.log
  

No comments: