Add a progress bar to copy command in linux

I was looking for a way to have a progress bar when using the cp command as I move a lot of files over my LAN from my server to my Drobo, and wanted to know the transfer speeds. Since cp doesn’t have an option to show a progress bar I came across this handy modification you can make to your bash profile.

Works quite well and you now have a nice progress bar when copying files via the command line.

Published by

Shelby DeNike

System Administrator, Designer, and Developer. WordPress consultant. Founder of sd3labs, LLC . Sr. System Administrator for Laughing Squid Web Hosting