

If you don’t want the numeric values to be formatted, use the -n option to extract raw numbers. SourceFile,Model,Aperture,ShutterSpeed,ISO,FocalLengthIn35mmFormat Example: $ exiftool -csv -Model -Aperture -ShutterSpeed -ISO \ Luckily, exiftool can export the above data as CSV too. I often like to perform some quantitative analysis on my photo metadata, so it is helpful to start with data that can be imported into a spreadsheet.
Exiftool cheat sheet how to#
For example, here’s how to list the 35mm equivalent focal length for all files in the current directory: $ exiftool -FocalLength35efl.

Now it becomes easier to query for specific values in a whole collection of files. In order to see the actual tag names, use the -s option. The default output shows tag descriptions and their readably formatted values. This simplest exiftool invocation that dumps all EXIF data for the file. All of these examples work on a Unix shell environment like ZSH on MacOS or the various Linux shells. I’m writing this down because I often spend a lot of time reading through exiftool documentation to find out how to get something done, just to forget it within hours. exiftool is a command-line utility that provides very powerful EXIF reading, writing and searching capabilities. Useful for if many pictures do not have the CreateDate exif-property, but do have the DateTimeOriginal exif-property.Following is a collection of real exiftool commands that I’ve used, along with explanations of what each does. mp4s:Įxiftool -overwrite_original "-datetimeoriginal PeopleTags.txt Exiftool sort photos to subfolders of Camera make and camera modelĮxiftool -r -v -overwrite_original -ext jpg "-filename Exiftool add CreateDate Exif Property and Copy DateTimeOriginal Exif Property Value into It Exiftool show all available EXIF tags of a fileĮxiftool -G1 -a -s Exiftool write all available date fields in EXIF data to first 15 characters of the file name (f. When it comes to mass editing lots of files, nothing beats the command line.

Using this as my personal notepad, so to speak might be useful for someone. Several Exiftool commands I have used to edit/sort my pictures and improve metadata. Useful Exiftool Commands (cheat sheet / examples)
