compress-files - Gzip files not modified over a given period of time |
compress-files - Gzip files not modified over a given period of time
compress-files [options] <directory> [<directory> ...]
This program is part of mharc. This program is used to compress files that have not been modified over a given period of time.
-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.
-mbox-mode
A hack for compress mailbox files. When this option is specified,
the default -pattern
is ^\d+(?:-\d+)?$
. This pattern basically
searches for files with names in YYYY and YYYY-MM format. Files with
names in YYYY format are handled slightly different. When checking
if the file can be compressed, a year is added to -mtime
.
-man
Print out manpage.
-mtime
days
Modification time in days a file has to be older than to get compressed. If this option is not specified, 31 days is used.
-pattern
regex
Perl regular expression that represents files that should be
checked. If not specifed, the following regex is used:
^[^.]
.
compress-mboxes
$Id: compress-files,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-files - Gzip files not modified over a given period of time |