28 votes
Accepted

How can I extract just the value of a tag without the name using exiftool?

From the man page: -s (-short) Short output format. Prints tag names instead of descriptions. Add up to 3 -s options for even shorter formats: -s - print tag ...
  • 140k
19 votes
Accepted

How to edit the shutter speed value in metadata?

Using ExifTool, ShutterSpeed is not an actual tag within the file, it's a tag derived from several other values (See Extra Tags). That's why it's grouped under Composite Tags when you follow ExifTool ...
  • 3,369
14 votes
Accepted

Which color space is used by my iPhone 8 photos?

For whatever reason, the ColorSpace tag is not very useful in EXIF. The only standard values are 1 (sRGB) and 65535 ("uncalibrated"). All other values are reserved. Some cameras use them to mean Adobe ...
  • 140k
13 votes

How to set "date modified" by "date taken" with Exiftool?

Assuming you're using Windows, part of the problem is that there is no "Date Taken" tag. Windows fills this property with different metadata, depending upon what it can find. The mostly likely tag (...
  • 3,369
12 votes

When is each of these EXIF date & time variables created, and in what circumstances do they change?

You are correct about the [File] tags, they are info about the file from the underlying filesystem. Create Date/Time is the timestamp for when the file was created. I believe that File Modification ...
  • 3,369
11 votes
Accepted

How can I incrementally date photos?

There's already a similar question on the ExifTool forums. It can be done using two sequential ExifTool commands. First, make sure all the date to the same exiftool -datetimeoriginal='2015:02:22 00:...
  • 3,369
10 votes
Accepted

Is "Date Taken" Exif data possible on .PNG file, and is it possible to copy "Date Modified" to "Date Taken"?

What Windows displays under the "Date Taken" property isn't an embedded tag. It fills that property from a number of tags depending upon the file type. For example, for a JPG, Windows will use any of ...
  • 3,369
10 votes

How can I strip tags from a JPEG without removing the color profile?

exiftool -all= -TagsFromFile @ -ColorSpaceTags DIRorFILES This command will remove nearly all metadata but retain ExifIFD:ColorSpace, ExifIFD:Gamma, InteropIFD:InteropIndex, and ICC_Profile tags. ...
  • 3,369
9 votes

How can I extract just the value of a tag without the name using exiftool?

Use -b: $ exiftool -b -make x.jpg From the man page: -b (-binary) Output requested metadata in binary format without tag names or descriptions. This option is mainly used for extracting ...
  • 363
8 votes
Accepted

How can I geotag images with location data in a CSV file?

ExifTool could do this, but the use of negative coordinates might make it a two step procedure depending upon what tags you want to use. XMP gps tags will take negative coordinates, but EXIF gps tags ...
  • 3,369
8 votes

What does the exif ICC profile date mean?

It is the date and time the ICC Profile used by that image was first created. For example, my scanner inserts the same profile date for each image from 2006, even though I didn't have the scanner ...
  • 3,369
8 votes
Accepted

How to copy DateTaken tag from another image using ExifTool?

There are a couple issues to note: DateTaken is a Windows properties, not a tag in a file. Windows fills the DateTaken value from a variety of tags. PNG files do not support EXIF metadata. There is ...
  • 3,369
7 votes

Is "Date Taken" Exif data possible on .PNG file, and is it possible to copy "Date Modified" to "Date Taken"?

Very recent versions of PNG support EXIF, but a lot of software still does not understand or work with it. The lack of a standardized metadata block has been one of its big disadvantages for ...
  • 140k
7 votes
Accepted

How to extract all metadata from photos in subdirectories?

Try adding the -r option to the command, which tells exiftool to scan the directories recursively, starting from the top folder specified as an absolute path. Use the -ext option to specify the ...
7 votes
Accepted

Use DateCreated for DateTaken (CreationTime) on a PNG using ExifTool

As long as you have the filename set as you mention, the command you want to use is exiftool "-PNG:CreationTime<Filename" FileOrDir As @cmason mentions, PNG doesn't support the EXIF standard. ...
  • 3,369
7 votes
Accepted

Why is the field of view angle from exiftool different from Apple's official values?

In the linked tables, FOV refers to horizontal field of view, according to the key. The discrepancy would be due to the fact that the values calculated by exiftool refer to diagonal angle of view. As ...
6 votes
Accepted

When sorting into folders does Exiftool modify the image's metadata in any way?

Using Exiftool in this manner will not change any of the metadata inside the file. Depending upon the filesystem, some of the filesystem based items (System:All tags in Exiftool) may change, such as ...
  • 3,369
6 votes

How can I incrementally date photos?

Since the best answers use non-Windows syntax, I will here post their code converted for Microsoft Windows. @StarGeek solution, very fast and simple: First set a base timestamp to all images: ...
  • 459
6 votes
Accepted

Simple Tool or script to sort in folders and by date RAW images in linux?

Exiftool reads many raw formats. You can use a command similar to this one to rename your photo files : exiftool '-filename<CreateDate' -d %y%m%d_%H%M%S%%-c.%%le -r -ext cr2 /path/to/pictures ...
  • 176
6 votes
Accepted

Can ExifTool be used to read files stored online?

ExifTool has no built in ability to access online files. However, as shown in the example under Piping Examples, you can pipe the file from a program — such as cURL — to get the metadata of a file.
  • 3,369
6 votes

Why doesn't Lightroom load files after I've changed their camera model metadata using EXIFTOOL?

You do not ever want to change the make and model of a raw file such as a .RAF (or .NEF/.CR2/3). Without this data, Lightroom (and other raw file processors) are unable to determine the proper way of ...
  • 3,369
5 votes
Accepted

How to use user-provided variables with ExifTool?

You aren't using the variable with the user-provided input correctly. This answer assumes you're trying to run this script using a bash (or compatible) shell. If not, you'll need to refer to how to ...
5 votes
Accepted

Filter or plugin that replaces special characters?

Exiftool could do this with the -api "Filter=" option, but the command line could get long and messy. Using your example, the command would be something like this: exiftool -api "Filter=s/ü/ue/g" -...
  • 3,369
5 votes

Check if digital picture was taken today?

No, there is no way. This just isn't possible. There's no unalterable data that you can check. Why are people sending you false information? I'd work on checking your incentives, and make it easy to ...
  • 140k
5 votes
Accepted

Where to store scene label information about a photo (e.g., "nature", "cat", etc.)?

There are a number of metadata standards used in photography. EXIF is one of them, but there are others in common use as well. Today's image files often include multiple metadata sections in different ...
  • 140k
5 votes
Accepted

What is the proper formatting of the Subject Tag in XMP?

The interface for a lot of programs with regards to keywords is to show them as a comma separated string. But the important thing to remember is that they are not stored as such. They are stored as ...
  • 3,369
5 votes
Accepted

ExifTool command (Windows 10) to move files to a separate directory if the modified-date is later than the date-taken

Try this command: exiftool -d "%Y:%m:%d %H:%M:%S" -r -if "$FileModifyDate gt $DateTimeOriginal" -directory=/path/to/modified/ /path/to/source This checks the FileModifyDate to see ...
  • 3,369
4 votes

How can I incrementally date photos?

Try Irfanview. It is freeware (AFAIR) and has a very flexible batch renaming system. Other than that I would try writing a script, something along the lines of for X in $(seq -w 0 20) ; do plus=$(...
  • 141
4 votes
Accepted

What is the correct, standard EXIF metadata to add for Rokinon 8mm fisheye lenses?

If you want Hugin to auto-recognize and correct for the lens, then probably the right tag to use is Samyang 8mm f/3.5 Fish-Eye CS, because this is the entry in the lensfun database, which is now ...
  • 49.4k
4 votes

Is there a way to check whether the image has been modified with Exiftool?

No, whoever modified the file can also modify the file modification date and all the EXIF data. Also the file modification /creation date can be reset by e-mailing it or downloading it from the web. ...
  • 20.5k

Only top scored, non community-wiki answers of a minimum length are eligible