Skip to content

Instantly share code, notes, and snippets.

@codemartial
Created January 5, 2015 11:52
Show Gist options
  • Save codemartial/3a0d54cc3b33be31f05d to your computer and use it in GitHub Desktop.
Save codemartial/3a0d54cc3b33be31f05d to your computer and use it in GitHub Desktop.
Using exiftool to extract <file>,Model,ImageSize,35mmFL CSV Records for specific Lens IDs (assumed present in 'lensids' file)
find $SEARCH_PATHS -type f -print0 | xargs -0 exiftool -csv -F -LensIDNumber 2>/dev/null | grep -f lensids | cut -d ',' -f 1 > zoompix
cat zoompix | tr '\n' '\0' | xargs -0 exiftool -csv -Model -ImageSize -FocalLengthIn35mmFormat > info-zoompix
cat info-zoompix | ./analyse-fl.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment