I have tons of photos and normally do my best to geotag them. Now I know that spread under loads of images in a multilevel directory tree there are quite a few photos which for some reason slipped through and have not yet been properly geotagged. I want to find them.
Is there a way to create a simple text ascii-list file output which lists all my photos (both DNG and JPG) with no geotags by path and filename? How do I find something which is NOT there and where I have no idea where it is?
I would suggest:
ah the top of your directory :
exiftool -if "not $gpslatitude" -sourcefile -r -ext jpg -ext dng . > output.txt
Quote from: sevy on October 29, 2020, 03:47:21 PM
exiftool -if "not $gpslatitude" -sourcefile -r -ext jpg -ext dng . > output.txt
That will work, if you use
-filepath instead of
-sourcefile- Phil
Hm. I let the following run
.\exiftool.exe -if "not $gpslatitude" -filepath -r -ext jpg -ext dng . > output.txt
Result is three lines of lext in the "output.txt" file:
Quote143 directories scanned
6289 files failed condition
0 image files read
That is somewhat unsatisfactory I have to say. ;)
I didn't want to count any files, but I wanted a list with filenames and paths.
Any more ideas?
All of your files contain GPSLatitude. There is nothing to list.
- Phil
If you are using Mac/Linux/Windows Powershell, change the double quotes to single quotes to avoid the shell treating $gpslatitude as a shell variable.
Quote from: StarGeek on October 30, 2020, 02:24:47 PM
If you are using Mac/Linux/Windows Powershell, change the double quotes to single quotes to avoid the shell treating $gpslatitude as a shell variable.
Thanks that solved it. One more thing to remember. :)