egaia bag¶
Create or update the BagIt information for a new or existing collection.
Usage¶
egaia bag --help
egaia bag --init [ --description=DESCRIPTION ] [ --title=TITLE ]
egaia bag --validate
egaia bag --update-finding-aid
egaia bag --update
Options¶
--help
- Show this help text and exit.
--init
- Create a BagIt directory structure if none already exists in the current path, using the values provided for
--description
and--title
or prompting the user for this information. --validate
- Validate a bag, to ensure that the expected files are present. This uses a “fast” check, which looks at the filename and file size only.
--description=DESCRIPTION
- A description of the collection for bag-info.txt.
--title=TITLE
- Title of the collection.
--update-finding-aid
- Recreate the docx metadata file based on information contained in
bag-info.txt
. In its current form this command is mainly useful for ingesting a bag from an external source. --update
- Update manifests for the payload in the current collection.