DZone Logo

Link Details

Link 98159 thumbnail
User 209395 avatar

By kent13304
via blog.trendics.com
Published: Jul 26 2008 / 18:16

So, you’ve filled up a directory with so many files that executing a rm -f * tells you Argument list too long. Now what? You can run this to remove the files in a directory too full to use rm -f *…
13 0 1198 274
User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

find . -exec rm -r {} \;

at a guess...?

*wanders off to read article*

User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

Heh... close ;)

Add your comment



Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser