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

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Linux, Uncategorized and tagged , , . Bookmark the permalink.

Leave a comment