Skip to main content

Questions tagged [exiftool]

ExifTool is a platform-independent library & CLI application for reading/writing metadata in a wide variety of file types. Most notably, ExifTool can modify EXIF tags in digital images, and ID3 tags in songs.

Filter by
Sorted by
Tagged with
1 vote
2 answers
451 views

EXIFTOOL, track creation date, and timezone

I am trying to make sense of the QuickTime/TrackCreateDate value obtained for a file created by camera recording on an iPhone 15, latest OS. In this case, I was in Japan at the time. According to ...
Dennis 's user avatar
  • 163
1 vote
1 answer
506 views

how to fix timezone of images using exiftool

I received some photos from a photographer. When I use exiftool I discover that the timezone of the photographer's camera was incorrect. Create Date : 2024:04:21 05:40:41-05:00 ...
mark's user avatar
  • 791
-1 votes
1 answer
118 views

Video to geotagged images using powershell

I have an MP4 from a GoPro with a gpstrack included. Now I am trying to extract a geotagged image sequence from that video. For that I am currently using FFmpeg and exiftool; I'm open to better ...
e-shirt's user avatar
  • 103
2 votes
2 answers
579 views

Is it possible to change tags that are not writable by exiftool?

I have a (Dolby Vision) video file test.mp4 but has hev1 in video track Codec ID (ffmpeg) or Compressor ID (exiftool) exiftool -CompatibleBrands -CompressorID test.mp4 Compatible Brands :...
Steven Yang's user avatar
1 vote
1 answer
311 views

Safely strip metadata from images in a folder, add a value to some tags

I have a directory structure that contains a lot of JPEG/JPG, PNG, SVG, and WEBP images in several subdirectories. I want to strip all metadata from these images except anything that would be ...
Hashim Aziz's user avatar
  • 13.2k
0 votes
0 answers
131 views

Geotag with exiftool failed

After looking at examples in man exiftool, it seemed the right command would be exiftool -geotag dir-1/…175814.gpx -geosync=-3600 dir-2 All 36 photos (.jpg) and videos (.mp4) were taken with the ...
WGroleau's user avatar
  • 834
1 vote
1 answer
551 views

Using REGEX only, copy last (delimited) word to every comma separated value?

I have a series of lines with arbitrary number of comma separated values, and then a hash marked comment. The challenge is, using only PCRE2 regex for use in PERL, to do the following: Store the ...
Tushar Bhutt's user avatar
0 votes
1 answer
411 views

How to set the location of an image with exiftool?

ExifTool is a powerful tool for modifying meta data on images. What is the simple command line to specify the location for an image?
Vincent Scheib's user avatar
4 votes
3 answers
8k views

How to set an image's date and time with timezone with exiftool?

ExifTool is a powerful tool for modifying meta data on images. What is the simple command line to specify the date and time for an image?
Vincent Scheib's user avatar
0 votes
1 answer
59 views

exiftool rename if autofocus is off

unfortunately I have created a small problem during my vacation. I did not notice that the autofocus was turned off on a camera lens. This, of course, I created some possibly blurred images. Well ...
FrankStein's user avatar
1 vote
1 answer
242 views

Formatting Lat/Long via an exiftool format file

I used exiftool -c "%.6f" -p ~/bin/gpx.fmt (dir) > (file).gpx to create a GPX file for all ages in the directory. I copied ~/bin/gpx.fmt from GitHub With the syntax I used, -c is ignored ...
WGroleau's user avatar
  • 834
1 vote
3 answers
2k views

delete one specific tag in metadata completely

A photo has many tags and values, one of which is: Contrast : Normal As a test to remove a tag, I ran the following: exiftool -Contrast= -overwrite_original myfile.jpg ...but ...
cardamom's user avatar
  • 175
1 vote
2 answers
8k views

How to change mp4 windows file creation date to create date from QuickTime

I have seen many similar questions to this, but can't sus out this exact problem: I take a lot of GoPro videos during my motorcycle adventures. While on the road I will upload video files to a cloud ...
slane6's user avatar
  • 11
0 votes
0 answers
168 views

Calling exiftool on a huge number of recovered images from photorec

I am trying to recover images of the last 20 years from a friend. She moved all recent files to trash, then emptied the trash. Those images were lying on the system partition, so photorec found a huge ...
dwn's user avatar
  • 101
0 votes
1 answer
926 views

How to extract the filename without the extension and write that to a tag using ExifTool?

I'm using ExifTool on Linux and am working with some MP4 video files. I want to add each file's respective filename as a metadata comment (using the -Comment tag). For example, suppose I have a file ...
CuriosityCalls's user avatar
2 votes
1 answer
416 views

Check whether output is smaller than input? (ffmpeg conversion with batch)

I've made a batch file that's able to compress many png files (with ffmpeg) as well as remove any unneeded metadata (using exiftool). @echo off title Compress png to png color 08 FOR %%a IN (*.png) ...
goldnick7's user avatar
  • 440
0 votes
1 answer
502 views

Format the ExifTool output of a filename list from an -if statement

I am running this command to display a list of files with a value of "rotate" contained in the -Orientation tag: exiftool -if "$orientation =~ /rotate/i" -orientation *.jpg The ...
Sailor Guy's user avatar
0 votes
0 answers
30 views

Move every picture taken outside of interval to a subfolder

I am trying to figure out a solution for moving every picture taken outside of a interval (let's say every 2 seconds) into a new subfolder. Example: I have 5 pictures with the following meta info: ...
Vincenzo's user avatar
  • 101
0 votes
0 answers
71 views

Bulk exif tags bat script not working peoperly

I have a batch script to set XMP:Subject Exif tags on pictures in bulk. tags.txt has all links of the pages and the tags. Links and Tags are separated by =. This script should divide the URL and Tags ...
Attiq Haroon's user avatar
0 votes
1 answer
441 views

make exiftool error if input file is not an image

I just tried to get the embedded color profile of a csv file, which returns no input $ exiftool -a -S -G0 -ColorSpace -InteropIndex -WhitePoint -PrimaryChromaticities -Gamma -ICC_Profile:all my_data....
user avatar
1 vote
0 answers
54 views

Bash script whitespace compliant

I have an huge amount of file to organize, they are a JPG files in an absurd folders structure. I need to move all files from its actual position to an organized folder structure, saving its actually ...
brambil's user avatar
  • 11
0 votes
1 answer
268 views

EXIFTOOL set MP4 to earliest date recursive - Can it be done?

I've been wrangling nearly 40TBs of videos that were recovered from 2 crashed RAIDs. Nearly all files have correct EncodeDate, TrackCreateDate and/or MediaCreateDate, but I'm biff'd on a mass rename ...
Jason Paul Michaels's user avatar
0 votes
1 answer
789 views

Using exiftool to append text to a filename after it's completed

I have long used wonderful exiftool to strip out exif data from images. Up to now, I've always done that in the same directory. Now I'd like to make it place the exif-stripped file in a different ...
confused's user avatar
  • 181
0 votes
2 answers
408 views

Removing PDF Subject Tag with Exiftool

Can someone help me understand why the following command will overwrite the Title tag, but not delete the subject tag of my PDF file? exiftool -Title="My Title" -Subject= myfile.pdf Thanks! R.
mrgou's user avatar
  • 281
1 vote
1 answer
121 views

Remove Page Range Metadata from PDF

I've merged multiple PDFs that were generated with Latex. These PDFs contain page ranges, meaning "real page" 40 and "real page 41" are simple transitions - e.g. adding an item to a bullet list. So ...
Elektropepi's user avatar
1 vote
1 answer
390 views

What information is needed within an XMP tag value?

I'm adding XMP metadata to a large number of TIFF files. Initially I was doing this with GIMP, but upon searching for a more efficient way to edit the metadata I found ExifTool. Looking at the tags ...
zaen's user avatar
  • 113
0 votes
1 answer
1k views

Is there a way to get Exiftool to recursively scan the metadata of files embedded within files?

Certain media formats can contain other entire media formats fully embedded. I believe some image formats contain thumbnail images which are themselves full image files rather than just the bitmaps. ...
hippietrail's user avatar
  • 4,593
0 votes
1 answer
1k views

How do you remove a specific line/key of metadata from a pdf

I have read in multiple forums that the Universal PDF portion of the metadata of pdf books are malformed and cause errors when trying to read from it. How do you remove a specific key and value from ...
digitaluniverse's user avatar
14 votes
2 answers
5k views

How to prevent recovering metadata when using ExifTool?

When using exiftool -all:all= file.pdf this message appears: ExifTool PDF edits are reversible. Deleted tags may be recovered! Can tag recovery be prevented when ExifTool is used? Can it just wipe/...
homocomputeris's user avatar
0 votes
1 answer
143 views

Unable to access config'd custom xmp namespace in exiftool

Though some form of me just not really getting it, I am unable to write this custom XMP namespace I've made in my config file. Below is the file. %Image::Exiftool::UserDefined = ( 'Image::ExifTool::...
Atlas Sullivan's user avatar
5 votes
4 answers
18k views

Changing dates on mp4 metadata

I've been trying to change the metadata dates in mp4 files using exiftool. I can only get it to change the "Date" (whatever that is) and "Media created" fields as displayed in Windows file explorer. ...
WokingWounded's user avatar
0 votes
0 answers
856 views

exiftool DPI disagrees with image properties on Windows 10 and the file linux command

I'm trying to use the exiftool to set the DPI on a set of images to 300 I'm using the following command: ./exiftool -jfif:Xresolution=300 -jfif:Yresolution=300 filename.jpg I've also tried: ./...
Vasilis's user avatar
  • 1,011
1 vote
2 answers
1k views

Can I get exiftool to list which types of metadata each file has?

Some types of files can have more than one type of metadata. For instance, a single JPEG file could have Exif, IPTC, and XMP metadata. Exiftool seems to be the most powerful metadata extraction and ...
hippietrail's user avatar
  • 4,593
1 vote
1 answer
5k views

Adding custom metadata tags to mp4

I have modified the sound track of a 360 video using openshot. The output has lost the 360 metadata tags. I am trying to use ffmpeg to replace them with the following command ffmpeg.exe -i input.mp4 -...
CarbonMan's user avatar
  • 111
1 vote
2 answers
921 views

Copying unknown tags with ExifTool

I have some images which I edited in GIMP, which lost some EXIF metadata in the process (and some EXIF tags added, too), so when I'm done I copy all the metadata from the original image into the ...
Raúl Núñez de Arenas Coronado's user avatar
2 votes
1 answer
3k views

ExifTool command for batch copying .mp4 metadata from files to files?

I was surfing the web for a solution, but no thread was working for me. I've compressed multiple mp4 videoclips using HandBrake, thus loosing dateModified etc. What I would want to have is a command ...
Yavor's user avatar
  • 21
2 votes
1 answer
2k views

How to leverage exiftool to write metadata in a .xmp back into .jpg file?

Given a .xmp file as the below, how to leverage exiftool to write the edited metadata in the .xmp back into the associated .jpg file? <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-...
Drake Guan's user avatar
0 votes
1 answer
3k views

Why is Windows 10 showing wrong file media create date?

Totally stumped on this. Copied some mp4 files off my phone, that I need to show a correct date for. Checked the file properties and found an empty "media created" date field. The date should've read ...
Cyrss's user avatar
  • 3
0 votes
1 answer
842 views

MP4 date on windows 10 explorer

I have several MP4 videos. On windows explorer, under the column "Date", I see the wrong time stamp, it is always 3 hours LATER than the EXIF fields: QuickTime:CreateDate QuickTime:ModifyDate ...
Curious Droid's user avatar
0 votes
2 answers
248 views

Is there such a thing as expiration date in EXIF datas?

In the EXIF data, we have such fields as the time the picture was taken, the location it was taken,.. My company use large quantities of photographies. Due to regulations about private data's, those ...
MUY Belgium's user avatar
27 votes
4 answers
31k views

Change rotation flag in MP4 video (without losing metadata)

I just want to change the rotation flag in a .mp4 video file. Many similar questions exist, most answers suggest using ffmpeg -i input.mp4 -map_metadata 0 -metadata:s:v rotate=90 -codec copy output....
aXeL-HH's user avatar
  • 1,039
4 votes
1 answer
2k views

ExifTool: Remove all meta data except specific tags

I am trying to remove all meta data from JPEG files except common photo tags as listed with exiftool -common (camera model, shutter speed, aperture, ISO, etc.) lens model, color space and embedded ICC ...
Kyselejsyreček's user avatar
6 votes
1 answer
7k views

What is the difference between the EXIF tags CreateDate, CreationDate, etc.?

When using exiftool to analyze some videos that I have, I noticed many date tags inherent to the creation of the video itself (so not dates like the last access or modification dates). Namely, here ...
Skeleton Bow's user avatar
1 vote
1 answer
4k views

How to change File Inode Change Date/Time of the file via exiftool?

I changed creation date of the mp4 via touch -t 207012121515 video.mp4, but exiftool gives me File Inode Change Date/Time for today. How to change File Inode Change Date/Time of the file via exiftool ...
tropis's user avatar
  • 11
0 votes
1 answer
209 views

Timestamping photos based on filename?

(I'm using Ubuntu 16.04 but this isn't necessarily Ubuntu-specific which is why I'm asking here and not on askubuntu) I have a set of photos that I would like to date/time-stamp but some of them have ...
warsong's user avatar
  • 535
1 vote
1 answer
2k views

Using ExifTool for Bulk Operations

I would like to have help please with ExifTool, for the following operations: I have thousands of pictures scattered across dozens of sub-folders. All sub-folders are nested under a single parent ...
voronoi's user avatar
  • 921
0 votes
1 answer
2k views

remove all exif tags except specified

I just want to remove all tags except a few (from jpg files). I would like to keep only the title,description and the tags. When i'm running the following command: exiftool -all= -tagsFromFile @ -...
Remus Rigo's user avatar
  • 3,009
1 vote
2 answers
672 views

Run command for multiple directories?

I have a list of directories in a text file for which I want to run an exiftool command. Is there a built-in way in exiftool to do so or do I have to use shell scripting for that?
D.R.'s user avatar
  • 403
4 votes
1 answer
4k views

Extract Thumbnail from CR2 Image using exiftool

I am attempting to extract a JPEG thumbnail image from a CR2 image, using exiftool, in Windows. I was successful in doing so using this program, QuickJPGFromCR2. From the description, it appears to ...
Johndt's user avatar
  • 145
3 votes
1 answer
7k views

Changing the DPI in a JPEG without re-encoding? with ImageMagick or something else

Sometimes I have image files which I want to contain a certain DPI setting. Note that I mean just the DPI value, i.e. just the value in the image's metadata. I don't want to resize the actual image. ...
RocketNuts's user avatar
  • 1,202