Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (14 sloc) 0.253 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

FIND=/usr/bin/find
EXIFTOOL=/usr/bin/exiftool
JHEAD=/usr/bin/jhead
PATH=$1

$FIND $PATH -type f | while read FILE
do
  RESULT=`$EXIFTOOL -gps:GPSLatitude $FILE`
  if test -n "$RESULT"
  then
    $JHEAD -purejpg $FILE
    echo $FILE
  fi
done
Something went wrong with that request. Please try again.