ExifTool is a platform-independent Perl library and command-line application for reading, writing and editing meta information in a wide variety of files.
Questions tagged [exiftool]
375 questions
6
votes
1 answer
How to change Media Created Date in Exiftool?
I have some MP4 videos that don't have Media Created date and time because they were recorded with Instagram camera. I want to set the date and time and I found out that I can do that with Exiftool software. I know that the software works by typing…

Katarina Perović
- 361
- 1
- 5
- 22
6
votes
3 answers
EXIFTOOL - Set datetime from filename
I have many photos named with a date format but the EXIF dates don't match.
e.g. 2016-12-16_20-20-29.jpg
Running them through EXIFTOOL I can almost overwrite the dates but it doesn't match the exact date format.
exiftool "-datetimeoriginal

sidonaldson
- 24,431
- 10
- 56
- 61
6
votes
2 answers
Update value of Rotation in mov file using Exiftool
Phil Harvey has provided some excellent examples for using Exiftool to write photo metadata at https://exiftool.org/exiftool_pod.html#WRITING-EXAMPLES.
Following Phil's examples, I've had no problem updating existing metadata fields of JPGs.…

dfyoung
- 103
- 1
- 6
6
votes
2 answers
Example of how to parse exiftool JSON output in Haskell
I can't make sense of any of the documentation. Can someone please provide an example of how I can parse the following shortened exiftool output using the Haskell module Text.JSON? The data is generating using the command exiftool -G -j…

me2
- 744
- 6
- 13
5
votes
2 answers
Can I use exiftool with an URL?
I'm new at exiftool and don't know whether instead of a file, I can put a URL where that file is contained. Can I?
For example:
exiftool http://www.edfr.com/images/wert_1.jpg -j /home/damaris/Desktop/metadata.json

Luli
- 661
- 1
- 6
- 10
5
votes
1 answer
How to set a color profile with exiftool?
I have some .jpg files without a color profile, and would like to set them to a particular color profile using exiftool.
what parameter do I need to supply to do this?

Mark Harrison
- 297,451
- 125
- 333
- 465
5
votes
1 answer
Remove all metadata from an image on the command line
So I used exiftool -all= command line tool to remove the metadata from an image. However, when I print the metadata of the resulting image, I get this:
$ exiftool myimage.jpg
ExifTool Version Number : 11.30
File Name :…

Lokasa Mawati
- 441
- 5
- 15
5
votes
1 answer
How to extract exif data from a PNG photo?
I am on OSX, running python and trying to extra EXIF data from a large set of images in my library.
I've been using Pillow so far with my JPG photos and it works like a charm.
However, I stumbled on the first PNG photo I hit.
I am able to view a lot…

sramij
- 4,775
- 5
- 33
- 55
5
votes
1 answer
exiftool rename photos with camera model and date
I have been sorting my family photos, including some from a recovered backup drive my dad had. many of the photos were named file000268.jpg etc so I looked into renaming utilities, and ended up going with exiftool because I can use it in the shell…

glasses
- 743
- 2
- 8
- 24
5
votes
1 answer
Is it possible to create a custom namespace tag in XMP Dublin core metadata?
I am curious to know whether it is possible to create a custom namespace for the XMP Dublin Core metadata?
For example If I want to add a tag like mytest
I can write the XMP Metadata standard tags such as description however I can't write my own…

Anthony
- 33,838
- 42
- 169
- 278
5
votes
3 answers
Is there a way to read/write XMP metadata using imagemagick?
I would like to read/write XMP metadata in JPEG and PNG files.
I'm able to do this using the exiftool
~ $ exiftool -xmp-dc:description="FooBar" sample.png
1 image files updated
~ $ exiftool sample.png | grep "Description"
Description …

Anthony
- 33,838
- 42
- 169
- 278
5
votes
2 answers
Python native library to read metadata from videos?
Is there a Python library to read metadata (camera model, time created, etc ...) from video files? The Perl equivalent is "exiftool." I checked pyexiv2, but it doesn't have video support like exiftool does. Thanks.

ensnare
- 40,069
- 64
- 158
- 224
4
votes
1 answer
Haskell manipulating file contents
I'm a student from Portugal having some doubts about a project I have to handle.
My final objective is to create a pdf catalog with LaTeX that stores information about files using exiftool.
So far, i've managed to separate audio from video files and…

Nuno Ferreira
- 71
- 2
4
votes
1 answer
Batch copy metadata from one file to another (EXIFTOOL)
Im currently using tags such as exiftool -FileModifyDate(<)datetimeoriginal, etc. in terminal/cmd...
Im switching from icloud and the dates in the metadata are exif (meaning finder and windows explorer just see the date they were downloaded)..
It's…
user9399593
4
votes
3 answers
Is there anyway (commandline tools) to calculate MD5 hash for .NEF (also .CR2, .TIFF) regardless any metadata?
Is there anyway (commandline tools) to calculate MD5 hash for .NEF (also .CR2, .TIFF) regardless any metadata, e.g. EXIF, IPTC, XMP and so on?
The MD5 hash should be same once we update any metadata inside the image file.
I searched for a while, the…

XHou
- 41
- 2