* This is the modus mailing list *

I am interested in it. Thanks.

Salama


From: "Jon Benson" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: [Modus] Deleting files in box containing 55000 messages
Date: Tue, 2 Dec 2003 15:12:24 +1100

* This is the modus mailing list *

Hi Salama,

As it happens I've just written something for doing just that in .NET

It can process all mailboxes, a single domain, or a single INBOX for a particular regular expression, though it doesn't seem to like anything too complex like ^ or $ for some reason but it's doing what I wanted.

It allows you to specify how many lines of the MSG file to scan and what delay it should sleep for between scanning each file.

I can provide you a copy (complete with source) if you like. Obviously the "no warranties" disclaimer applies as this is just a quick something I threw together to get a job done.

At the moment I have it scanning every mailbox on my system with a 20ms delay and it's deleted over 190k messages (quota warnings) last I checked on it.


Regards,


Jon Benson
Mail/DNS/Linux Administrator
OzHosting.com


> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Salama hussein > Sent: Tuesday, 2 December 2003 3:04 PM > To: [EMAIL PROTECTED] > Subject: [Modus] Deleting files in box containing 55000 messages > > > * This is the modus mailing list * > > > I have a mailbox that ended up with about 55000 messages. > Most of them are > the same message. > I want to delete the files (messages) that contain a certain > string. File > explorer and search crashes because of the huge number. > > Is there a way to search and delete from the command line or > using a batch > file? Using del and grep.. what's the syntax? > Or some Windows program that can deal with so many files > without crashing or > slowing down the computer so miserably? > > Thanks. > > Salama > > _________________________________________________________________ > Need a shot of Hank Williams or Patsy Cline? The classic > country stars are > always singing on MSN Radio Plus. Try one month free! > http://join.msn.com/?page=offers/premiumradio > > > ** > To unsubscribe, send an Email to: [EMAIL PROTECTED] > with the word "UNSUBSCRIBE" in the body or subject line. >

**
To unsubscribe, send an Email to: [EMAIL PROTECTED]
with the word "UNSUBSCRIBE" in the body or subject line.

_________________________________________________________________
Say �goodbye� to busy signals and slow downloads with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.)



** To unsubscribe, send an Email to: [EMAIL PROTECTED] with the word "UNSUBSCRIBE" in the body or subject line.

Reply via email to