Deleting LARGE number of files

Dave Ihnat ignatz at dminet.com
Tue Apr 27 13:01:48 UTC 2004


On Tue, Apr 27, 2004 at 12:16:35PM +0000, bbaa aaa wrote:
> If I want keep directory, what shoild I do?

cd DIRECTORY;
find . -print | xargs rm -fr

(Yes, I know the print is redundant in Linux find.  It makes for portable
scripts...)
-- 
	Dave Ihnat
	ignatz at dminet.com





More information about the redhat-list mailing list