Re:Can you get cp to give a progress bar like wget?
by RiderOfGiraffes on Thursday March 04, 2010 @06:35AM
(#1166653)
That doesn't give you a progress bar because it doesn't know how big the data stream will be. You need to pass in some options to pv to give it that information.
cp $SOURCE /dev/stdout | pv | cp /dev/stdin $DEST
Edit: "pv <a >b" is simpler, but isn't the game to fit "cp" somewhere? :)