2
Apr

Display Progress and Speed When Using ‘cp’ Command

I ran across an interesting method for getting ‘cp’ to show progress and speeds as well. Take a look at the page here:
http://chris-lamb.co.uk/2008/01/24/can-you-get-cp-to-give-a-progress-bar-like-wget/

There is some controversy to it since there is so much overhead (through strace, awk, etc), but the thought is very cool. I wonder if there’s a better way of doing this… the pv command maybe? Or a more in-depth solution?

I noticed that gnome introduced this sort of information in the copy file dialog. It get’s me wondering how they did that (and even more-so how accurate it really is).

Feel free to donate if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that you may be interested in:


There's 2 Comments So Far

Share your thoughts, leave a comment!