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 ...
StarGeek's user avatar
  • 3,803
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 ...
mattdm's user avatar
  • 143k
11 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 ...
starfry's user avatar
  • 403
9 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 Date Taken is a ...
StarGeek's user avatar
  • 3,803
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 ...
StarGeek's user avatar
  • 3,803
8 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 ...
junkyardsparkle's user avatar
7 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 ...
StarGeek's user avatar
  • 3,803
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 ...
junkyardsparkle's user avatar
7 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.
StarGeek's user avatar
  • 3,803
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 : ...
user3696's user avatar
  • 176
6 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 ...
StarGeek's user avatar
  • 3,803
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 ...
StarGeek's user avatar
  • 3,803
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: ...
StarGeek's user avatar
  • 3,803
5 votes
Accepted

How accurate are the GPS coordinates in an exif from an Iphone photo and does the exif tag also provide the bearing?

GPS data varies wildly in accuracy depending on location. In big cities, GPS can be very inaccurate because of the urban valley effect and the resulting multipath interference. Often, the best ...
dgatwood's user avatar
  • 2,245
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 ...
junkyardsparkle's user avatar
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 ...
mattdm's user avatar
  • 143k
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 ...
mattdm's user avatar
  • 143k
5 votes

Exiftool drops some EXIF tags

The reason is that those are not EXIF tags, they are MakerNotes. All EXIF tags are Metadata, but not all Metadata are EXIF tags. When listing data, you should always use the command suggested in ...
StarGeek's user avatar
  • 3,803
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 ...
StarGeek's user avatar
  • 3,803
5 votes
Accepted

How can I use ExifTool to prepend text to image files' descriptions?

An extension of the redirection feature allows strings involving tag names to be used on the right hand side of the < symbol with the syntax "'-DSTTAG<STR'", where tag names in STR are ...
Euri Pinhollow's user avatar
4 votes

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

The -T option will hide the tag name, so you get only the value (example with a different tag ImageDescription): ...
4 votes
Accepted

How can I use exiftool to conditionally modify tags?

Your command would be exiftool -if "$Make=~/^OLYMPUS /" -Make=OLYMPUS DIR This command takes the Make tag and performs a ...
StarGeek's user avatar
  • 3,803
4 votes

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

The question is a bit too broad but for me the place to store this king of information is tag: 0x010e ImageDescription Of course you can select own tag like <...
Romeo Ninov's user avatar
4 votes
Accepted

How do I use exiftool to strip all exif tags except rotation?

Duplicate of this StackOverflow question exiftool -all:all= -tagsfromfile @ -exif:Orientation /path/to/files -all:all= removes ...
StarGeek's user avatar
  • 3,803
4 votes
Accepted

How do I change only the year in the metadata using ExifTool, for a batch of files?

You're very close. By default, time shifts assume the shift is in hours unless there's a space between numbers. Try this: ...
StarGeek's user avatar
  • 3,803
4 votes
Accepted

Can I assume the DateTimeOriginal of an image without an OffsetTimeOriginal is already in UTC?

Other than the GPS timestamps, EXIF timestamps are supposed to be set to the local time where the image was taken. The three EXIF OffsetTime* are relatively new, having only been added in EXIF 2.31, ...
StarGeek's user avatar
  • 3,803
3 votes

Write IPTC "byline" to all images within a folder using Exiftool

Repeating my response on the Exiftool forums for users of StackExchange. Add -overwrite_original to avoid creating backups or use -delete_original to delete them when you're sure you don't need them ...
StarGeek's user avatar
  • 3,803
3 votes

Search large collection of images for exif tags without lightroom/aperture etc

Geosetter is a very capable editor for photo metadata that is built on on top of Exiftool and can do this with a GUI. You can display your photos folder by folder (default) but you can also go to the ...
cupholder's user avatar
3 votes
Accepted

How to use ExifTool to copy metadata from a group of PNGs to JPGs with the same base filenames?

The command you would use would be: exiftool -tagsfromfile %d%f.PNG -ext JPG DIR This assumes that the files are in the same directory and have the same base ...
StarGeek's user avatar
  • 3,803
3 votes
Accepted

How to batch identify and keyword bracketed photos?

It may take some tweaking to get right, but the command with exiftool would be something like: ...
StarGeek's user avatar
  • 3,803

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