uga-libraries / format-report

Aggregate and analyze csv files with file format information generated by the UGA Libraries' digital preservation system (ARCHive).
Creative Commons Attribution Share Alike 4.0 International
0 stars 0 forks source link

Make dates in filenames the date the data was downloaded #22

Open amhanson9 opened 1 year ago

amhanson9 commented 1 year ago

Reports include the date (month and year) as part of the filename. The goal is to know when the data is from, even as the file dates get changed by copying to new environments. However, it is actually the date that the scripts are run, not when the format reports are generated (the real date of the data).

In practice, tend to run the reports in the same month the data is downloaded, so might be close enough. Consider if there is any easy way to have it be the date of the reports. It is not part of the filename of the downloaded reports, so would need to either count on it being November (because that is when the analysis is supposed to start), use an argument, or is it possible to extract the date from the downloaded csv file metadata?