[nycbug-talk] Deleting Lots of Files.

Jonathan Vanasco nycbug-list at 2xlp.com
Wed Jun 21 13:14:04 EDT 2006


On Jun 21, 2006, at 10:44 AM, Hans Kaspersetz wrote:

> I was wondering what the best way to delete lots of files is.  Here is
> my problem, I have a mail box directory with 55K files in it.  The  
> file
> names are in the form:  1144126802.V411I59451aM517953.foo.com:2,  They
> are semi squential.
>
> I would like to delete all the files in the 114* series.  However,  
> when
> I pass rm -f ./114*, I get to many arguments as an error.  What I  
> really
> want to delete is all files from before June.


i tend to do that sort of stuff using python scripts

in 2 minutes you can have a script that reads/validates all of the  
files you want deleted, and presents it to you with an 'are you  
really sure you want to delete these?' message



| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -







More information about the talk mailing list