=pod =head1 archive A program to move files into gzipped archives organized and labeled by month and year. Archive name will be label_ext_MmmYY.tar.gz. ext will be the alphabetic characters in the supplied extension. =head1 USAGE archive.pl -l LABEL -d DIRECTORY [-e EXTENSION|*] [-k KEEP|60] [-s] [-h] =over =item -l LABEL - a string to begin the archive file name, set off from the rest by an underscore. This is a required parameter. =item -d DIRECTORY - the directory of files to be archived. This is also a required parameter. =item -e EXTENSION - the extension of files to be archived. Do not include the period. If this value is left blank, * will be used (and the extension in the archive name will be "all"). =item -k KEEP - how many days to keep unarchived. Once files are found less than this age, the program will stop, and that month will not be archived. If this value is not provided, files under 60 days in age will not be included in the archive. =item -s runs without actually archiving anything; it reports to standard input the names of archives it would have created and the files that would have been in each. =item -h displays simple usage line =back =head1 Examples =over =item archive.pl -l FisherNuts -d /home/edi/wlsedi/data_backup/fishernuts/214 -e 214 -k 60 =head1 Author Howard Parks