[LUAU] How do you delete over 500,000 files in a directory

Tim Stewart-PCI tas at netpci.com
Thu Nov 3 12:25:56 PST 2005


"Aloha,
> We have a box with over 500,000 files in a direcotry. If I try 'rm m*' 
> I get
> an error, something like 'too many arguments'
> I think someone else in this situation had a method of switching to 
> another
> shell, bash is default.
> All the files start with mgetty. I would like to prserve the other 
> files in
> the directory and the directories below /var/log
> Anyone have any ideas?
> > Aloha,
> Matt"

Perhaps copy the ones you do want to another drive and reformat the 
original drive?

Tim Stewart
Honolulu, Hawaii 





More information about the LUAU mailing list