[arachne] Re: Remove old mail

  • From: "Glenn McCorkle" <glennmcc@xxxxxxxxxxxx>
  • To: arachne@xxxxxxxxxxxxx
  • Date: Tue, 01 Jul 2008 20:16:02 -0500

Arachne at FreeLists---The Arachne Fan Club!

To get rid of anything older than June 15th, 2008

Using PKZIP v2.50

Edit killold.bat to contain your drive: & path to Arachne's mail dir.

Place killold.bat & pkzip.exe v2.50 in your path.

--- killold.bat ---

pkzip.exe -T%1 -m oldsent.zip drive:\arachne_mail_dir\*.snt
del oldsent.zip
_______________________________________________

command line....

killold.bat 061508<enter>

The -T option zips-up only those files older than the date specified.

The -m option 'moves' them into the zip file by deleting
the original file(s) after completing the ZIP.

(if for any reason the zip process fails... no files get deleted)

-- 
 Glenn
 http://www.delorie.com/listserv/mime/
 http://www.delorie.com/djgpp/doc/msdog.html
 http://www.glennmcc.org/
 http://www.law.cornell.edu/constitution/constitution.table.html
                  Arachne at FreeLists                  
-- Arachne, The Premier GPL Web Browser/Suite for DOS --

Other related posts: