Skip to content

Instantly share code, notes, and snippets.

@feklee
Last active January 10, 2022 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feklee/4c43ca5113b29cdd7cdae583c19b90b8 to your computer and use it in GitHub Desktop.
Save feklee/4c43ca5113b29cdd7cdae583c19b90b8 to your computer and use it in GitHub Desktop.
Finds images that contain DocURLs in their EXIF data
#!/bin/bash
# Finds images that contain DocURLs in their EXIF data, because I
# remember that I once had the idea to put them there. Hopefully
# there are none.
# Felix E. Klee <felix.klee@inka.de>
find -regex ".*\.jpe?g" | while read a; do
r=$(exiftool "$a" | grep -i docurl) && echo "$a: '$r'"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment