[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Delete 4 million files



Chris Dale wrote:
If you know the count, Pipe Viewer can give you a progress meter:

$ rm -frv dir | pv -l -s 4000000 > /dev/null
546k 0:00:02 [ 886/s ] [========>                  ] 36% ETA 0:00:03

Echoing someone else's comment on another thread -- "I learned something new, today."

I like this answer. It would certainly do the job, give a useful progress report, and not clutter the screen.

Thanks for the tip, Chris.

--
Marc Shapiro
mshapiro_42@yahoo.com



Reply to: