[clug] What's the fastest way of deleting files?

Damien Elmes clug at repose.cx
Wed May 11 10:56:08 GMT 2005


Michael James <clug at james.st> writes:

> It's partition cleanup time again,
>  what's the fastest way of deleting files?

[...]

> rm -r				takes forever, gives no feedback.

rm -rv will make rm display the files as they're being deleted, and
will be faster than a find+xargs solution.

But perhaps the question is why you want to see all the files in the
first place? If you want to have a rough idea of the progress, you
could open up another terminal and type 'watch df' instead.

Cheers,

Damien


More information about the linux mailing list