Skip to content

Instantly share code, notes, and snippets.

@shymega
Created July 29, 2019 01:31
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 shymega/bb5110e7ca4f06ed36cdff6bf80a8e98 to your computer and use it in GitHub Desktop.
Save shymega/bb5110e7ca4f06ed36cdff6bf80a8e98 to your computer and use it in GitHub Desktop.
Photos - collection of one-liners..
#!/usr/bin/env sh
# Iterates over JPG files, grabs lens focal length in metadata, and aappends it to a file.
find ./*.jpg -print -exec exiftool -T -lens -focallength "{}" \; >> lens_focal-lengths.txt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment