Searching...
Monday, June 16, 2014

How to delete million of files on busy Linux servers (rm -f *: Argument list too long)

Source From: BLog.CripperZ.SG http://blog.cripperz.sg/2014/06/17/delete-million-files-busy-linux-servers-rm-f-argument-list-long/
How to delete million of files on busy Linux servers (rm -f *: Argument list too long)
If you try to delete more than 131072 of files on Linux with rm -f *, where the files are all stored in the same directory, you will get an error:
/bin/rm: Argument list too long.

I’ve earlier blogged...
How to delete million of files on busy Linux servers (rm -f *: Argument list too long)
Read Complete Post From Source: BLog.CripperZ.SG

0 comments:

Post a Comment

 
Back to top!