[UNCLASSIFIED]RE: [clug] What's the fastest way of deleting f iles ?

Peter Barker pbarker at barker.dropbear.id.au
Fri May 13 02:53:30 GMT 2005

On Fri, 13 May 2005 Antti.Roppola at brs.gov.au wrote:

> >I'd be surprised if it were much faster than 'rm -rf' anyhow.
> Actually, chmod, chown and chgrp are the more usual recursive tasks
> and I like to use find since I can pipe things through grep as well.

the -regex option to find is quite useful :) Still, each to their own, and
pipelines are an integral part of the unixy-way.

Additionally, I've not found (nor have I looked too hard) why
find . -name \*.#\*
 doesn't work as I think it should. I use
find . -regex '.*\.#.*' instead...

> Antti

Peter Barker                          |   N    _--_|\ /---- Barham, Vic
Programmer,Sysadmin,Geek              | W + E /     /\
pbarker at barker.dropbear.id.au         |   S   \_,--?_*<-- Canberra
You need a bigger hammer.             |             v    [35S, 149E]
"When used legally and in its intended fashion, the Acrobat eBook Reader
 secures eBooks purchased by locking the eBook to the hardware from which
 it was purchased." -- Adobe press release

More information about the linux mailing list