A nice way to show progress when copying files

The cp command is not really good with that, there are some ways to do it, but unnecessarily complicated.

The best option is to use rsync instead:

rsync --progress source destination

It will show you something like this:

3885367296 0% 38.37MB/s 13:02:45

Where the first column is the number of copied bytes, the second one is the percentage of completion, the third is the copy speed and the last is the remaining time.

Source: https://unix.stackexchange.com/questions/65077/is-it-possible-to-see-cp-speed-and-percent-copied

About SoCRaT

Research Support and Infrastructure Engineer, OSS & Linux Geek
This entry was posted in Linux, Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s