This script converts a hash db file (of the type used by AutomatedArchive 3.x) into Tie::FieldVals data.

This requires the file name of the hash db file,
not just the location of the AutomatedArchive directory,
so as to make this more flexible in the files it is able to read.
While the AutomatedArchive file is usually "archive_dir/cgi-bin/files/ARCHIVE_DB.pl",
someone converting it may wish to move it to a different location,
or download it from their website,
or may wish to use this script for converting files of the same format which aren't actually AutomatedArchive files.

If you want to define the order of the Fields in the output file,
or simply define the legal fields you are interested in,
then use this option to override the default of getting the Field names from the first record in the the Hash DB file.

Repeat the --fields option for each field name.
Be sure to give every field you want,
because this replaces the field definitions from the Hash DB file.