Skip to content

Instantly share code, notes, and snippets.

@boydx
Last active September 13, 2022 22:45
Show Gist options
  • Save boydx/1898ab631a3b0b65b8c65479ef314886 to your computer and use it in GitHub Desktop.
Save boydx/1898ab631a3b0b65b8c65479ef314886 to your computer and use it in GitHub Desktop.
Use exiftool to get img coords
# exiftool: https://exiftool.org/
x=$(ls IMG*) # or *.jpg, *.heic, etc...
for y in $x
do
echo $y
exiftool -n -p '+$GPSlatitude,$GPSlongitude' $y
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment