[LUAU] How do you delete over 500,000 files in a directory
    Eric Hattemer 
    hattenator at imapmail.org
       
    Thu Nov  3 20:37:37 PST 2005
    
    
  
Jim Thompson wrote:
> Hawaii Linux Institute wrote:
>
>>
>>
>> for i in m*; do rm m*; done
>
>
> still requires bash to glob all 500,000 files.   Fails for the same 
> reaons.
Ok, I wonder if I'm the only one who immediately read this as what I 
thought it should have been, then didn't get the criticism.  The typo 
should have read
for i in m*; do rm $i; done;
-Eric Hattemer
    
    
More information about the LUAU
mailing list