Created
April 13, 2018 16:40
-
-
Save glw/68deba7ce064bbcc9970beadb87baeb7 to your computer and use it in GitHub Desktop.
search for altitude in image exif tags output to csv
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
echo "name, altitude" > output.csv | |
for tif in ./path/to/images/0003/*.TIF; do | |
name=$(exiftool $tif | grep 'Original Raw File Name') | |
alt=$(exiftool $tif | grep 'GPS Altitude :') | |
echo "$name, $alt" >> output.csv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment