Re: fast way to delete a directory recursively
On Fri, 2002-07-26 at 08:44, Richard Cobbe wrote:
> Patrick Hsieh <pahud@pahud.net> writes:
> - If you're trying to delete the directory structure to make way for a
> new one with the same name, then you can do something like this:
> mv current old
> /bin/rm -rf old &
> ## start re-creating current.
>
> Doesn't make the actual deletion take any faster; it just parallelizes
> the process.
>
This would result in fragmentation and I would advise against it, since
all the bad things about filesystem fragmentation (like slower
performance) will pop up.
Jamie Strandboge
--
Email: jstrand1@rochester.rr.com
GPG/PGP ID: 26384A3A
Fingerprint: D9FF DF4A 2D46 A353 A289 E8F5 AA75 DCBE 2638 4A3A
Reply to: