![]() If this command is run under Unix/Mac/Powershell, reverse any double/single quotes to avoid variable interpretation. Replace /path/to/files/ with the actual path to the files you want to process. ![]() Also included is the -n ( -printConv) option to output in decimal format rather than Degrees/Minutes/SecondsĮxiftool -csv -n -GPSLatitude -GPSLongitude /path/to/files/ >out.csv exiftool -if Photoshop:LayerNames /Layer 0/ -Filepath -r top-level folder or file path. You might also look at exiftool's -csv option and get CSV file which you could then load into Excel/LibreOffice and see all the values directly. The -ext ( -extension) option is used to exclude XMP files, as it can be assumed they are sidecarsĮxiftool -srcfile %d%f.xmp -srcfile -ext XMP -f -api "MissingTagValue=N" -p "$ $FilePath" /path/to/files/ The -srcfile option is used to read and prioritize XMP sidecars if they exist. Rename File Extension to FileTypeExtension. exiftool -s -all DSC09535.JPG ExifToolVersion : 11.59 FileName : DSC09535.JPG Directory . exiftool -r -if (not createdate) -filenamed/nocreateDate/f.e. In order to see the actual tag names, use the -s option. The default output shows tag descriptions and their readably formatted values. Exiftool's Advanced formatting feature is used to print a ' Y' if the tag exists. This simplest exiftool invocation that dumps all EXIF data for the file. To work around this, the -f ( -ForcePrint) option is used with -api MissingTagValue option to set the default to ' N'. To get a Y/N in front is a bit more complex, because by default, exiftool won't print anything for missing tags. Using exiftool, to get a simple list of all files that include a GPS coordinate, you could do thisĮxiftool -if "$GPSLatitude" -p "$FilePath" /path/to/files/ But then I have further actions to take with the list, and that's daunting with more than three thousand directories. So that is alleviated by the ability to put multiple files in one CSV list. It was clumsy because I thought I would have to run each file to a temp file of tags, check for GPS in the temp file, and then do something with the image file based on that. I didn't know about the -if option-I'll have to look into that. My "clumsy method" would take advantage of the fact that exiftool will leave the GPSDateTime field blank when no GPS data. So I'll likely run the thing non-recursive in each directory. ![]() LibreOffice Calc can handle more than 24K rows but I've seen its performance go to crap with large amounts of data. (And it currently crashes my laptop when I try to open the app) And either at the same time or in a separate job, to reverse geocode a description of the location in an exif comment for those that have GPS.Īpple's Photos app sorts them by location but it keeps that info separate from the photo. Or one list with each identified as having or not. I'd like to make lists of those that have GPS tags and those that don't. I have more than 24 thousand images, from several different devices. Hi Phil, Command: exiftool -p ISO exist -if exif:ISO photo.jpg -will write ISO exist if ISO tag is defined. I have a rather clumsy and inefficient way to do this with exiftool, find, etc., but maybe there's a better way … ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |