On Thu, 19 Oct 2000, Ron Johnson, Jr. wrote: > > [root@db2 mail]# rm * > > bash: /bin/rm: Argument list too long > Divide and conquer: > rm [Aa]* > rm [Bb]* > rm [Cc]* I wrote a C program that would create a batch to do just that: rm mail.err.%d.gz.%d.gz.%d.gz.%d.gz* where each %d goes from 1 to 9.. If I reduce it by 1 %d.gz, I get the Argument List too long. It's naturally quite inefficient, takes hours to run. I was hoping there was a Unix utility that would delete all files without first expanding the parameters.. =turgut ----- Turgut Kalfaoglu, EgeNet Internet Services http://www.egenet.com.tr All of Turkey Online: http://find.egenet.com.tr
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
