Created
December 8, 2014 13:17
-
-
Save tschager/085d497797a82370df89 to your computer and use it in GitHub Desktop.
Grep in comment section of JPEG Exif metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.jpg | |
do | |
if exiftool "$i" | grep -q "Comment.*$1.*"; then | |
echo $i | |
exiftool "$i" | grep "Comment.*$1.*" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment