RE: Deleting LARGE number of files

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

 



Just out of curiousity, why is it a problem to delete a large number of
files?  What is 'rm' doing?  This sort of sounds like a bug in rm


-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Mike Wooding
Sent: Tuesday, April 27, 2004 1:44 PM
To: General Red Hat Linux discussion list
Subject: Re: Deleting LARGE number of files



 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@xxxxxxxxxxxxxxxxxxx> 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 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux