Verify a BagIt archive

The Bash script verify_bagit verifies an archive folder, according to the BagIt File Packaging Format, as designed by the Library of Congress and standardised under RFC 8493. The program is part of Bash AVpres, released under a 3-Clause BSD License and provided “as is” without warranty or support of any kind.


A short help message is embedded into the script:

$ verify_bagit -h
  verify_bagit (-i|-b) <input_folder>
  verify_bagit -h | -x
  -i  BagIt archive folder
  -b  is an alias of -i
  -h  this help
  -x  advanced options with their default arguments
  one of md5sum, sha1sum, sha256sum or sha512sum
See also:
  man verify_bagit
  Abstract: Verify a BagIt archive folder, according to RFC 8493
  Version:  2021-10-23

A detailed manual page is installed together with the script (man verify_bagit) and is available also as a PDF file on this website.