Saturday, 19 Jan, 2013 Intro. Say you have a LINUX dir full of thousands of insignificant small files, like a dir full of mail messages that you want to clean fast. You are 100% sure you can delete all of those small pesky files without consequences for anyone, because they are just uninformative messages (say you were monitoring your devices and you’ve put your host down for maintenance). Issue. This is what happens when you try to delete this huge files list: root@srvr008 [/home/user/mail/domain.com/hostmaster/cur]# rm -rf * -bash: /bin/rm: Argument list too long Fix. To successfully remove them, use instead: ls | xargs rm Rate this post Andrea MatesiSenior Professional Network and Computer Systems Engineer during work hours and father when home. Andrea strives to deliver outstanding customer service and heaps of love towards his family. In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format. Share this:LinkedIn Related