summaryrefslogtreecommitdiff
path: root/annex-audio-add-exif.sh
blob: b7922616617f39c7b1bde5ce714fa9978eca97f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
shopt -s extglob
for f in !(*.xmp) ; do
    echo $f
    git annex metadata $f --set exif="$(exiftool -S \
    -filename \
    -filetypeextensions \
    -model \
    -datetimeoriginal \
    -duration $f)" 
done