exactly. find . -type f | xargs rm -f is faster than the 'exec' equivalent.In case your files have weird quotable characters, e.g. ` ' etc in them (or spaces) use: find . -type f -print0 | xargs -0 rm -fNice one. Prior to your email, I always used the [embarrasingly complex] method below: find . -type f | awk '{ system("rm -f \"" $0 "\""); }'
It's not complex - there are just many ways to do it. eb
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
