|
Hi,
I was trying with digiKam to check which of my photographs have *NOT SET* GPS tags (coordinates, altitudes, etc.) embedded in EXIF metadata. Well, I couldn't find related options in digiKam search tab. I suppose this kind of search is impossible in digiKam. So, anyone knows a way to do this via exiftool, exiv2 or some other tool? I am trying to find metadata 'orphans' in my collection in this way. Next I'm going to find images without authorship tag set. Cheers, -- /\/\ichau, admin [monkey] nocnyrzepin [dot] net http://www.nocnyrzepin.net _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
|
Save this Perl script in your base directory as "print_no_gps.pl":
#!/usr/bin/perl if (`exiftool -GPS \"$ARGV[0]\"` eq '') { print "$ARGV[0]\n"; } and then... find <dirname> -iname "*.jpg" -exec print_no_gps.pl {} \; You can change the -GPS to -MakerNotes or whatever later, to get your second goal : ) -Greg MichaĆ Smoczyk wrote: > Hi, > I was trying with digiKam to check which of my photographs have *NOT > SET* GPS tags (coordinates, altitudes, etc.) embedded in EXIF > metadata. Well, I couldn't find related options in digiKam search > tab. I suppose this kind of search is impossible in digiKam. So, > anyone knows a way to do this via exiftool, exiv2 or some other tool? > > I am trying to find metadata 'orphans' in my collection in this way. > Next I'm going to find images without authorship tag set. Cheers, > > > ------------------------------------------------------------------------ > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
|
Greg Kennedy wrote:
> Save this Perl script in your base directory as "print_no_gps.pl": > > #!/usr/bin/perl > if (`exiftool -GPS \"$ARGV[0]\"` eq '') > { > print "$ARGV[0]\n"; > } > > and then... > find <dirname> -iname "*.jpg" -exec print_no_gps.pl {} \; > You can change the -GPS to -MakerNotes or whatever later, to get your > second goal : ) It works, but I have to change -GPS argument of exiftool to -GPSLatitude (which is always set in proper geotaged file) and script call in find command: #!/usr/bin/perl if (`exiftool -GPSLatitude \"$ARGV[0]\"` eq '') { print "$ARGV[0]\n"; } find . -iname "*.jpg" -exec ./print_no_gps.pl {} \; Thank you once again, -- /\/\ichau, admin [monkey] nocnyrzepin [dot] net http://www.nocnyrzepin.net _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
| Free forum by Nabble | Edit this page |
