ArchiveName - Rename a file to Archivist format.
ArchiveName <switches> <filename> -d | --debug Turn on internal debug code, if any. -v ! --verbose=num Set level of diagnostic output. 0 for none. -h | --help Print this usage information. --man Print the man page for this command.
Convert a file to the Archivist naming format by prepending the file's mdate (the date last modified) in ISO date format:
<date>-<filename>
If the filename already has a prepended date, ArchiveName will leave it alone. For example, both:
ArchiveName MyTestFile ArchiveName 20040901-MyTestFile
will result in the target file having the name:
20040901-MyTestFile
This format is quite useful as it causes archived files to collate by the date at which you actually last worked on them.
[It should handle lists of files; it should handle wildcards and in particular, entire directories when given /my/dir/* as a filename]
None.
Fails if file does not exist.
See TODO.
Dale Amon <amon@vnl.com>
To install ArchiveName, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ArchiveName
CPAN shell
perl -MCPAN -e shell install ArchiveName
For more information on module installation, please visit the detailed CPAN module installation guide.