Monday, 17 June 2013

How to get a progress bar while copying huge files - ::: Linux tricks:::

Normally cp command does not give you any output while you are copying files. You have no idea how much copying is left to be done. However you can use a slightly different command to copy large with a progress bar shown. pv command does things better.
$ cat originalfile.txt | pv > newfile.txt



No comments:

Post a Comment