compress-mboxes - Gzip old raw mailbox files |
compress-mboxes - Gzip old raw mailbox files
compress-mboxes compress-mboxes [options]
This program is part of mharc and has the responsibility of gzipping mailbox files that have not been modified in over a month to save disk space.
Generally, this program will be invoked automatically from cron
on a periodic basis.
This program will use the MBOX_DIR
variable from
<mharc-root>/lib/config.sh
as the root directory to search for
mailbox files. Any file matching the following regex,
^\d+(?:-\d+)?$
is considered to be a mailbox file.
-debug
Print out alot of status information.
-help
Print out usage information.
-n
Print the commands that would be executed, but do not execute them.
-man
Print out manpage.
<mharc-root>/lib/config.sh
Main configuration file for mharc.
This program basically invokes compress-files with the proper arguments to do the actual work.
compress-files
$Id: compress-mboxes,v 1.9 2015/12/21 19:07:50 ehood Exp $
Earl Hood, earl@earlhood.com
This program is part of the mharc archiving system and comes with ABSOLUTELY NO WARRANTY and may be copied only under the terms of the GNU General Public License, which may be found in the mharc distribution.
compress-mboxes - Gzip old raw mailbox files |