News for hackers. Stuff that matters.
Re:Linux tool to show progress for cp, mv, dd by notorandit on Friday May 19, 2023 @11:56AM (#36003432)
Re:Linux tool to show progress for cp, mv, dd by tylerchr on Friday May 19, 2023 @12:05PM (#36003543)
pv is invaluable but my issue with it is it’s only useful if you think to include it before you run the command. Usually the thought doesn’t occur to me until I have some runaway cp or dd and I want to be reassured that it’s going to be done soon. For that case that this looks super interesting.
Re:Linux tool to show progress for cp, mv, dd by rlpb on Friday May 19, 2023 @03:12PM (#36005732)
You can attach pv to an existing process. IIRC it's the -p option.
Re:Linux tool to show progress for cp, mv, dd by everybodyknows on Saturday May 20, 2023 @03:29PM (#36014820)
-p is same as "--progess":

https://linux.die.net/man/1/pv

Re:Linux tool to show progress for cp, mv, dd by rlpb on Monday May 22, 2023 @07:09AM (#36029892)
Ah, it was -d I was thinking of. Anyway, the point is that you can run pv retrospectively just fine while your slow command is running.
Re:Linux tool to show progress for cp, mv, dd by colpabar on Friday May 19, 2023 @11:59AM (#36003482)
wow I usually just use rsync with the progress flag but this looks way cooler. thanks!