summaryrefslogtreecommitdiff
path: root/annex-photo-add-exif.sh
blob: b2ff3926d6fdc7826c21a0475a8e6460f72df18e (plain)
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