Rsync Show Progress Bar While Copying Files

by on January 12, 2010 · 2 comments· LAST UPDATED June 12, 2010

in

How do I show progress while copying files using rsync locally or remotely?

You need to use the --progress option which show progress during file transfer. The syntax is as follows:

sync -av --progress /path/to/*.mp3 /nfs
rsync -av --progress /path/to/*.avi -e user@remote.example.com:/data

Sample output:

movie1.avi
   367071842 100%   40.49MB/s    0:00:08 (xfer#1, to-check=6/7)
movie2.avi
   367550238 100%   46.39MB/s    0:00:07 (xfer#2, to-check=5/7)
....
......
..
sent 2571434590 bytes  received 145 bytes  7274214.24 bytes/sec
total size is 2571120062  speedup is 1.00


If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 2 comments… read them below or add one }

1 Bart van Bragt May 17, 2011 at 8:09 am

Also add -h to show human readable sizes (350M instead of 367071842).

Reply

2 reply September 4, 2012 at 9:35 pm

um… That’s not a progress bar. That’s progress output.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , ,

Previous Faq:

Next Faq: