Peter Ross wrote: > > On 23-Nov-1999, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi > > > > does anyone happen to know of a quicker way of deleting 40000 files out of > > a directory other than the command "find . -exec rm {} \;" > > > > will rm -r <directory> be as quick? > > > rm -rf *
If you're new enough to linux to be asking this question, you definitely don't want to be typing rm -rf * anywhere. Too easy to screw up if you are uparrowing through your command history and accidentally hit return. If you want to nuke a whole directory, you should use 'rm -rf /path/to/directory' to eliminate chances of screwing up and nailing the wrong directory. jpb -- Joe Block <[EMAIL PROTECTED]> CREOL System Administrator Social graces are the packet headers of everyday life.