bag validator
Validate a single bag or a list of bags.
https://github.austin.utexas.edu/glib/bag_validator
To validate all bags in the /dps/write_to_tape volume, run the program without any arguments
python bag_validator.py
Use the -i --input argument to validate a specific bag
python bag_validator.py -i path_to_bag
Use the -f --file argument to validate a specific list of bags found in a txt file
python bag_validator.py -f path_to_baglist.txt
Use the -f and -i arguments together to validate a specific list of bags in a location other than /dps/write_to_tape
python bag_validator.py -i path_to_folder_containing_bags -f path_to_baglist.txt
Add the -r --recursive argument to validate any bags nested in subfolders
python bag_validator.py -i path_to_folder_containing_bags -f path_to_baglist.txt -r
The script requires the bagit, psutil, and pywin32 libraries