[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deleting files



On 23-Nov-1999, zdrysdal@diagnostic.co.nz <zdrysdal@diagnostic.co.nz> 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 *

Just make sure that you are in the correct directory when you do it,
because this will not prompt you.

Pete


Reply to: