Tuesday, June 20, 2017

Progress of copy operation

See progress while carrying out copy operation: 

rsync --info=progress2 <source> <destination>

While using cp command, there is currently no direct way to check the progress..you can make use of rsync with 'info' flag as above to see the progress of copy operation.

rsync dir1/  dir2

This will copy contents inside dir1/ to dir2

rsync dir1  dir2

This will copy dir1 and its contents into dir2/

No comments:

Post a Comment