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:/dataSample 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
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop








![Linux: HowTo Copy a Folder [ Command Line Option ]](http://s0.cyberciti.org/images/rp/1/17.jpg)


{ 2 comments… read them below or add one }
Also add -h to show human readable sizes (350M instead of 367071842).
um… That’s not a progress bar. That’s progress output.