Re: Deleting LARGE number of files

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

 



 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

[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