1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env bash shopt -s extglob for f in !(*.xmp) ; do echo $f git annex metadata $f --set exif="$(exiftool -S \ -filename \ -filetypeextensions \ -make \ -model \ -lensid \ -focallength \ -fnumber \ -iso $f)" done