On Wednesday, "Lars Wigrell" <[EMAIL PROTECTED]> typed:
] idea on making a ARJ-based mail archive utility for Arachne. It would
I wrote one with batch files and called it ZIPHASTE. It creates a
zipfile of all your mail with the name like 20000203.ZIP, leaving
only unread and to-be-sent mail. It also deletes index files (which
is re-created by insight).
http://hoody.virtualave.net/downloads/ziphaste.arj is the direct
download link. Inside contains both zip and arj versions.
use at your own risk. i wont be responsible for anything, yadda yadda
yadda. :) But it does contain some if errorlevel statements so it
won't delete anything if pkzip/arj returned a non-zero errorlevel.
So if you ran once a week/fortnight/month you'll have youre archives
in tip-top condition. :)
] files, archiveing them in daily, weekly, monthly and yearly archives,
] in a "russian doll" way. So, the archive built for 1999 would probably
Mine just spits out one file everytime you run it. compressing a
compressed file only leads to headaches...
] contain 12 archives (one for each month), and so on. And to easyly find
] what you are looking for, each archive contains an index file of the
] headers of the mail.
I wanted to do this, but is impossible with the batch files I was
using. But I suppose one could use the find command to find things
like "Subject:"... but how to integrate in a nice manner? How about
those GNU utilities like grep? hmmm...
The possibilities are endless!
] I'm pretty sure that you get the idea. And once all backward archiveing is
] done, it will probably only be necessary to run the program once a day,
] where it build a daily archive. If it's a Monday, it would bundle the archives
] from last week into one weekly archive, and so on. This is how the
] program could work in an "automated maintenance mode".
As I have said before, using batchfiles only one can put something in
their autoexec.bat or arachne.bat to run once a day/week/month (and
year while we're at it) so this is another idea.
] Of course, the program also need some search and extract functions too,
] if you some time in the future want to search for an old mail.
index might be like:
--- 2000-01.ZIP ---
12345678 From: Someone <[EMAIL PROTECTED]>
12345678 Subject: Something
12345679 From: Other Person <[EMAIL PROTECTED]>
12345679 Subject: What?!?
--- 2000-02.ZIP ---
12346789 etc...
so you could do it manually.
] I guess making such a program would not be too hard for a PC programmer.
] Unfortunately I have only programmed ZX Spectrums, otherwise I would
] have done it myself :-)
Still basic stuff :-)
--
| .~. | Hoody has the hots for whats in the box with the dots!
| /V\ | http://hoody.virtualave.net updated 14 Jan 2000
| // \\ | http://hoody.penguinpowered.com when I'm online
| /( )\ | ICQ: five oh one seven five one seven oh
| ^`~'^ | Carpe Aptenodytes!
DOES ANYBODY KNOW WHAT A 'cAPS lOCK' KEY IS?
| C607EUW | "We apologise for the inconvenience"