uga-libraries / hub-monitoring

Scripts for summarizing and validating content on the Digital Production Hub, the UGA Libraries' centralized storage for digital objects that are not suitable for our digital preservation system.
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

Merge get_file_count() and get_size() #42

Closed amhanson9 closed 2 months ago

amhanson9 commented 6 months ago

Functions were originally kept separate for clarity, but they overlap quite a bit including iterating through every file. Script is running slow (over 1 hour for one department), so we could combine these to speed it up.