egaia tag¶
Tag new filenames with uuid identifiers and create metadata documents where they do not exist.
Usage¶
egaia tag --help
egaia tag [ --untag ]
Options¶
--help
- Show this help text and exit.
--untag
- Remove the UUIDs from all the files in the current collection. You probably do not want to do this except in emergencies, since egaia does not yet provide a tool for re- associating untagged derivatives and finding aids with their parent originals.
Behaviour¶
Each original file in the current collection will be tagged with the format
<filename>.<UUID>.<suffix>
, and accompanied by a metadata template document
with the filename <filename>.metadata-<language>.<UUID>.docx
.
Thus for example the file MyDocument.jpeg
might be renamed to
MyDocument.d5da6556-640b-4916-a584-fe67f873ff57.jpeg
and accompanied by the
file MyDocument.metadata-en.d5da6556-640b-4916-a584-fe67f873ff57.docx
,
which should then be used for metadata input.