mbox-archive

NAME

mbox-archive

SYNOPSIS

mbox-archive --days XX file...


OPTIONS

--days=number

Emails older than this many days will be archived.

--prefix=string

This is taken as the prefix for the filenames created when the messages are archived. The strftime pattern "foobar-%Y-%m" will be used.

--man

Print the manual page and exit.

--help

Print a brief help message and exit.

--verbose

Explain what is being done. This output should cleanly indicate progress; however, errors and irregularities in the emails may produce errors.


DESCRIPTION

This program will remove emails older than the specified number of days from the mbox files given on the command line.


EXIT CODES

If this program exits with a zero exit status and the correct output is on standard output. Nothing else should be printed to standard output.

This program will exit with a non-zero exit status if there was a fatal error. Both fatal and non-fatal errors will cause output on standard error.


AUTHOR

Mark Suter <suter@humbug.org.au>


COPYRIGHT

Copyright (C) 2003 Mark Suter <suter@humbug.org.au>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or from the following webpage.

    http://www.gnu.org/licenses/gpl.txt
-->