This commit is contained in:
Roger Rutishauser 2024-10-14 21:43:24 +02:00
parent b27954df01
commit 3eea31bc5e
3 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
gitea: none
include_toc: true
---
# Archiv-Metadaten
## eCH-0160
### Konvertierung eCh-0160 nach Matterhorn METS
https://www.ech.ch/sites/default/files/dosvers/hauptdokument/AUXI_d_DEF_2022-03-14_eCH-0257_V1.0.0_Metadatentransformationen.pdf
## Matterhorn METS
- [Spezifikation](https://wiki.docuteam.ch/lib/exe/fetch.php?media=oais:spezifikation_matterhorn-mets_20160803_wi.pdf)
- [Übersicht](https://docs.docuteam.ch/de/introduction/matterhorn/)
- [METS Doku Roger, word](files/matterhorn_mets_doku_roger.docx)

Binary file not shown.

View File

@ -0,0 +1,107 @@
---
gitea: none
include_toc: true
---
# File formats and file metadata
## exiftool
see examples at https://exiftool.org/examples.html
### List of all metadata fields
Metadata is usually stored in one of the following:
- XMP https://www.exiftool.org/TagNames/XMP.html (especially XMP *dc* Tags)
- EXIF https://exiftool.org/TagNames/EXIF.html
- IPTC https://exiftool.org/TagNames/IPTC.html Older format, replaced more and more by XMP.
### list all metadata
```
exiftool /images/1988-klassenfoto-elzmatte-3.jpg
```
in RDF format:
```
exiftool -a -g -struct -X 1988-klassenfoto-elzmatte-3.jpg
```
### get certain field
Where -Subject stands for the Subject field in XMP.
```
exiftool -s -Subject /images/1988-klassenfoto-elzmatte-3.jpg
```
### overwrite field
#### delete/remove
```
exiftool -Subject="" -overwrite_original 1988-klassenfoto-elzmatte-3.jpg
```
#### remove single term
```
exiftool -Subject-="1988" -overwrite_original /image/1988-klassenfoto-elzmatte-3.tif
```
#### add single term
```
exiftool -Subject="1988" -overwrite_original /image/1988-klassenfoto-elzmatte-3.tif
```
to add more terms, keeping the existing ones:
```
exiftool -Subject+="1988" -Subject+="roger" -overwrite_original /image/1988-klassenfoto-elzmatte-3.tif
```
#### add multiple terms
This will overwrite existing terms.
```
exiftool -sep ", " -Subject="1988, roger" -overwrite_original /image/1988-klassenfoto-elzmatte-3.tif
```
## droid
Format Identifier CLI and GUI based on PRONOM PUID
https://www.nationalarchives.gov.uk/information-management/manage-information/preserving-digital-records/droid/
## fido
Format Identifier CLI based on PRONOM PUID
https://github.com/openpreserve/fido
## jhove
CLI and GUI tool for format identification and validation. Can be used e.g. to determine if a XML or SVG is valid.
https://jhove.openpreservation.org/
## siegfried
CLI command tool. Shows PRONOM PUID, mimetype.
https://openpreservation.org/blogs/siegfried-pronom-based-file-format-identification-tool/
## Sigcheck
Sigcheck is a command-line utility that shows file version number, timestamp information, and digital signature details, including certificate chains.
See https://learn.microsoft.com/en-us/sysinternals/downloads/sigcheck
## veraPDF
PDF/A validator and repairer. GUI and CLI.
https://verapdf.org/home/