Deleting LARGE number of files

Mike Wooding timmywooding at yahoo.com
Tue Apr 27 17:43:53 UTC 2004


 You can remove the directory recursively,
 or be more precise with a combination of
 find and xargs.

 The basic tool is xargs. See the man page.

--- Chris <redhat-list at dotcomdesigners.com> wrote:
> Okay, newbie question - and I can't find the answer
> on
> Google...  :-|
> 
> How can you delete the contents of a directory that
> has a
> HUGE number of files?  By huge I mean when "rm -f *"
> complains with "too many items" error message.  I
> don't care
> what's in there, I just want to wipe it all.

=====
He who laughs last thinks slowest.


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 





More information about the redhat-list mailing list