compress-files - Gzip files not modified over a given period of time


NAME

compress-files - Gzip files not modified over a given period of time


SYNOPSIS

  compress-files [options] <directory> [<directory> ...]


DESCRIPTION

This program is part of mharc. This program is used to compress files that have not been modified over a given period of time.


OPTIONS

-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: ^[^.].


SEE ALSO

compress-mboxes


VERSION

$Id: compress-files,v 1.8 2002/09/15 03:33:08 ehood Exp $


AUTHOR

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