Created
August 7, 2021 10:24
-
-
Save icyflame/461fc98d0d30f8fe2eed78128138b784 to your computer and use it in GitHub Desktop.
Check all the files under the current folder to see whether they have EXIF data
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
#!/bin/bash | |
find . -type f | sort | while read fn; | |
do | |
exiftool "$fn" | grep -i 'date/time original' > /dev/null | |
if [[ "$?" == "1" ]]; | |
then | |
echo "| NO EXIF DATA | $fn |" | |
else | |
echo "| FOUND EXIF DATA | $fn |" | |
fi | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment