Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 475 Bytes
# Script to fix corrupt GPS dates from Android Camera App.
# Requires: perl, libimage-exiftool-perl
echo WARNING: About to overwrite GPS Date tag on all JPEG images.
read -p "Enter 'y' to continue, or any other key to quit. "
[ "$REPLY" == "y" ] || exit 1
echo Correcting GPS Date tag, please wait...
for i in *.jpg
exiftool -m -overwrite_original -GPSDateStamp=`exiftool -exif:DateTimeOriginal "$i" | cut -d" " -f17` "$i"
echo Correction complete.