home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
comms
/
network
/
amigauuc.lha
/
AmigaUUCP
/
man
/
SplitMBox
< prev
next >
Wrap
Text File
|
1991-02-03
|
2KB
|
51 lines
NAME
SplitMbox
SYNOPSIS
SplitMbox [-c] outTemplate bytesPerFile inTemplate [outstart# [instart#]]
DESCRIPTION
SplitMbox is a manual utility useful for those people (like me)
who archive all their email. I archive my email by having an
Alias append mail to my user name, dillon, to a file called
'mbox', in addition to sticking it in my 'dillon' mail box.
I then set up dmail such that it does not try to transfer
read items into the mbox (because the mail has already been
stuck there by the alias). I also set the dmail 'archive'
variable so any mail I send out is also archived to the same
mbox.
What generally happens is that your MBOX file slowly grows
larger and larger. At some point, so dmail can access it
reasonably fast, you rename it and start a new mbox. Eventually
you end up with something that might look like this:
mbox.001 423433
mbox.002 253933
mbox.003 983943
SplitMbox will take a sequence of files starting with
<inTemplate>.001 and break them up on item boundries
to output files starting with <outTemplate>.001 ... for
example,
SplitMbox tmp:out 200000 mbox
SplitMbox will take the files mbox.001, mbox.002, and mbox.003
(it goes on until it can find no more files), and outputs
tmp:out.001, tmp:out.002, tmp:out.003, tmp:out.004, etc....
where the tmp:out#? files are on the order of 200KBytes each,
allowing for easy compression and storage to floppy.
You can specify additional arguments to set the starting number
for the input template (default is 1) and starting number for
the output template (default is 1).
Additionally, if you give the -c option SPLITMBOX will automatically
run COMPRESS on every output file closed out, leaving the last one
(that didn't reach the byte limit) uncompressed. You can then
copy the archived files to floppy for permanent storage.