[CentOS] Silly question - Anything faster than rm?
strange at nsk.no-ip.org
Sat Sep 29 11:48:04 UTC 2007
On Sat, Sep 29, 2007 at 04:43:43AM -0700, Jamie Lists wrote:
> Maybe this is a silly question, but i have a few million files i need
> to delete but i can't just reformat the volume.
> Right now the fastest thing i can think of is
> nice -20 rm -Rf /folder-i-want-to-delete
> is there a better or faster way to do this?
No, but if you want to re-use the directory name, rename it before
mv folder-i-want-to-delete _removed_folder
rm -fr _removed_folder &
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20070929/e7104db6/attachment.bin
More information about the CentOS