diff options
author | luxagraf <sng@luxagraf.net> | 2024-10-19 07:21:54 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-10-19 07:21:54 -0500 |
commit | 6d1f384b223773a61f71581a2fbb343257d94efa (patch) | |
tree | 2e346dfbf8d8d7913bd0601f0c50527b8958f482 /annex-audio-add-exif.sh | |
parent | 93fc6a27f01fbe325c95008b7f336627152ea3c7 (diff) |
updated photo scripts to use photos instead of pictures
Diffstat (limited to 'annex-audio-add-exif.sh')
-rwxr-xr-x | annex-audio-add-exif.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/annex-audio-add-exif.sh b/annex-audio-add-exif.sh new file mode 100755 index 0000000..b792261 --- /dev/null +++ b/annex-audio-add-exif.sh @@ -0,0 +1,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 + |