Created
July 1, 2023 12:37
-
-
Save andyli/5511791dc8ea6bb49edc7783c9f2a26b to your computer and use it in GitHub Desktop.
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
suffix="_nogps" | |
for f in "$@" | |
do | |
extension=${f##*.} | |
newfile="${f%.$extension}$suffix.$extension" | |
/usr/local/bin/exiftool -gps:all= -xmp:geotag= "$f" -o "$newfile" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment