LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using pv in conjunction with cp (https://www.linuxquestions.org/questions/linux-newbie-8/using-pv-in-conjunction-with-cp-590860/)

mpmackenna 10-10-2007 03:24 PM

Using pv in conjunction with cp
 
If I am copying a huge file and I want to monitor the progress what is the best way to do it. I tried doing...
$ cp file /dir | pv -b
and
$ pv -b| cp file /dir
but, all I would get was <0B> listed no matter how much of the file had been copied. Any help is greatly appreciated. Thanks, Mike

bigrigdriver 10-10-2007 06:18 PM

Here is a utility called Command Line Progress Bar which may help.

http://clpbar.sourceforge.net/


All times are GMT -5. The time now is 07:25 AM.