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
0 votes
1 answer
41 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 ...
user avatar
  • 1
0 votes
0 answers
46 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 ...
user avatar
  • 101
0 votes
1 answer
179 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 ...
user avatar
2 votes
1 answer
243 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) ...
user avatar
  • 154
0 votes
1 answer
67 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 ...
user avatar
0 votes
0 answers
28 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: ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
0 votes
1 answer
95 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
32 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 ...
user avatar
  • 11
0 votes
1 answer
101 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 ...
user avatar
0 votes
1 answer
242 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 ...
user avatar
  • 161
0 votes
2 answers
236 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.
user avatar
  • 181
1 vote
1 answer
87 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 ...
user avatar
1 vote
1 answer
102 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 ...
user avatar
  • 113
0 votes
1 answer
398 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. ...
user avatar
  • 4,259
0 votes
1 answer
712 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 ...
user avatar
9 votes
1 answer
3k 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/...
user avatar
0 votes
1 answer
78 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::...
user avatar
3 votes
4 answers
12k 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. ...
user avatar
0 votes
0 answers
327 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: ./...
user avatar
  • 751
1 vote
2 answers
775 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 ...
user avatar
  • 4,259
0 votes
1 answer
3k 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 -...
user avatar
  • 111
1 vote
2 answers
595 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 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 21
2 votes
1 answer
841 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-...
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 ...
user avatar
  • 3
0 votes
1 answer
650 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 ...
user avatar
0 votes
2 answers
131 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 ...
user avatar
20 votes
3 answers
20k 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....
user avatar
  • 830
3 votes
1 answer
1k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 11
0 votes
1 answer
131 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 ...
user avatar
  • 515
1 vote
1 answer
1k 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 ...
user avatar
  • 841
0 votes
1 answer
1k 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 @ -...
user avatar
  • 2,847
1 vote
1 answer
320 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?
user avatar
  • 295
4 votes
1 answer
3k 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 ...
user avatar
  • 145
3 votes
1 answer
5k 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. ...
user avatar
4 votes
2 answers
3k views

How to add missing file extensions for multiple files using ExifTool in Windows

I lost only the file extensions at the end of the file names for a few thousand .docx and .pdf files. So how do I attach them in one batch at the end of the existing FileName using ExifTool ? Note 1. ...
user avatar
  • 43
0 votes
2 answers
1k views

Automatically renames files with correct file extention in bulk

I have a folder with multiple types of file ( mp4, mp4, jpg, wma .etc) and these files have either have no extension, or all messed up extensions extension such as mp3.mp3, mp3.jpg, or just file name. ...
user avatar
2 votes
1 answer
1k views

How to append a string to a tag with exiftool

Doing exiftool -Comment='This is a new comment' dst.jpg replaces any comment already present. How can I add the string instead?
user avatar
13 votes
1 answer
35k views

How do I edit a JPEG's EXIF data with Gimp?

I would like to edit a JPG EXIF data in Gimp. Perhaps I need a plugin or something, but I don't know how to search for and download the plugin. Plus, when Gimp opens a JPG it converts it to XCF format....
user avatar
1 vote
2 answers
4k views

Rename JPEGs by adding a prefix according to date taken

I have a folder with pictures taken with different cameras and all these pictures have a correct DateTimeOriginal EXIF tag set. Suppose a list of files like this: 20150831_153712.jpg IMG_5246.JPG ...
user avatar
  • 226
1 vote
1 answer
1k views

Any differences between identify --verbose and exiftool?

Wanted to know if people know of any major differences between identify --verbose and exiftool. A picture here :- ─[$] identify -verbose me_at_minidebconf_thumbnail.jpeg ...
user avatar
  • 419
0 votes
1 answer
2k views

Extract frames from video and set timestamp on images

I want to extract frames every 10 seconds from a video and geotag these frames using a GPX track. On my Windows 8 computer I have tools to extract the frames (FFMPEG), set image timestamps (ExifTool) ...
user avatar
  • 113
0 votes
0 answers
1k views

ExifTool code use for setting image description

With ExifTool I would create the field using ImageDescription IPCT Headeline + Caption abstract-but it always fails. The command you use: exiftool "-exif: ImageDescription <IPTC: caption-abstract" ...
user avatar
  • 1
1 vote
0 answers
281 views

Multipage TIFF -- How do I remove "Subfiletype" exif tag?

I'm having some trouble with the "Subfiletype" tag in a multipage PDF. I'd like to remove the "Subfiletype" tag entirely, and make the PageNumber tag count like so: 0,1 . . 1,2 . . 2,3 instead of 0,...
user avatar
2 votes
1 answer
3k views

exiftool width and height of resized images not match the new sizes

$ convert original.jpg -resize 50% test.jpg $ exiftool test.jpg ... Exif Image Width : 1200 Exif Image Height : 1600 Image Width : 600 Image Height ...
user avatar
  • 16.4k
0 votes
1 answer
1k views

How to copy exif comments to XMP description

In my favourite photo viewing software, FastStone Image Viewer, the only way to add description to the photos is the exif comment field. However, when uploading images to filckr, the title or ...
user avatar
3 votes
2 answers
6k views

Author of the document a pdf was created from?

I teach in a college, and a wee while ago I had some fun spotting students who copied other students work by simply taking their word file and "paraphrasing" the sentences. So student A would ...
user avatar
  • 131