Questions tagged [exiftool]
ExifTool is a free software program for reading, writing, and manipulating image, audio, and video metadata.
20
questions
0
votes
1
answer
103
views
Unable to open a text file created by exiftool: There was a problem opening the file; the file you opened has some invalid characters
I am facing this error when opening a text file in gedit on Ubuntu 22.04:
The file was created as a redirection of the exiftool (12.57) command line for extracting metadata from a bunch of 100'000 ...
1
vote
2
answers
151
views
Bash script stops without error when the extraction of image EXIFs with exiftool encounters an empty file
I have this script which processes images in subfolders on Ubuntu 22.04 with exiftool 12.57:
#!/bin/bash
set -e
DIR=/path/to/photos
for f in $(find "${DIR}" -type f -iname "*.jpg&...
2
votes
1
answer
1k
views
Add a tag to jpeg using ExifTool
I would like help with terminal syntax code please to add a tag to jpeg files using ExifTool. I want to add general notes to some old scanned jpeg pictures of my ancestors for my kids to be able to ...
1
vote
1
answer
751
views
How to find and return the names of all images containing specific metadata?
I want to find all .jpg files in my directory that contain a specific tag and copy them to a different directory. In particular, I am using GThumb which allows me to put tags to my photos - it stores ...
0
votes
0
answers
79
views
give permission to Django to use specific software in shell
I need to call exiftool in shell by django but it's seem django can't use this software.when i run exiftool -j <image> myself in terminal that is working well but in django the result in None ...
0
votes
1
answer
3k
views
How to install and use exiftool to get GPS information of a photo [closed]
I want to install exiftool and get a location information of a photo. please help.
thank you
0
votes
1
answer
277
views
Problem with exiftool and geosync, possibly related to daylight saving time
I wanted to geotag all my vacation photos with exiftool as follows:
exiftool -geotag "*.gpx" \
-geosync "19:25:42Z@IMG_7882.jpg" \
-geosync "09:16:34Z@IMG_9798.jpg" \
-ext .jpg .
where IMG_7802....
11
votes
1
answer
7k
views
Remove all picture Metadata except for one
I need to remove all metadata from the pictures in one folder, except for the date it was taken.
Is there a way to remove all metadata with an exception?
The current command I use is:
exiftool -all=...
2
votes
2
answers
5k
views
EXIF Tool and video files which are saved with UTC timestamps
I'm curious if anybody could give me some insight on a current issue I'm having.
For some context, my wife and I have an Android phone (Moto G5 Plus). The phones sync all items in DCIM folder to my ...
8
votes
2
answers
7k
views
How can I get duration of all video files in a folder containing multiple subfolders?
I have a folder named tutorials. Inside it, there are about 15 folders each containing about 15-20 .mp4 video files. I want to get the total duration of all the files present in the folder tutorials. ...
0
votes
1
answer
423
views
Passing a date in an exiftool command
I am writing a bash script and want to get the date after every week. Is it possible?
My command
exiftool -exififd:dateTimeOriginal="2008:10:23 00" test.jpg
So instead of 2008:10:23, I want to pass ...
0
votes
1
answer
638
views
Apply exiftran recursivly (rotate all images based on their EXIF info)
I would like to execute exiftran on all .jpg files recursively below the current directory.
exiftran -ai * does what I need (apply rotation based on EXIF info) within the current directory, but not ...
5
votes
2
answers
5k
views
How can I recursively strip off exif info from all images in a directory?
for i in *.jpg; do echo "Processing $i"; exiftool -all= "$i"; done
I need to adapt this line of code which strips all exif info from images in a directory. I need it to;
not fail if the current ...
0
votes
2
answers
822
views
I need a way to remove tags from images within a folder and it's subfolders
I have a huge backup of images from students' coursework - something like 100,000 of them. Because of the way they were collected a lot of them have tags on them which are screwing up my filing system ...
3
votes
3
answers
884
views
How to force Shotwell write metadata tags to video file?
I have a set of photos and videos that shares a common tag in Shotwell. I'm able to verify those photo files in Nautilus and assert that this tag is written in it. This is confirmed either by ...
1
vote
1
answer
504
views
Special characters in terminal
I am trying to set a metadata copyright notice using exiftool with
exiftool -copyright="©2016 Jim Berry" *.JPG
but it comes out in the images as "Copyright=©2016 Jim Berry"
Why the "Â" and how ...
5
votes
1
answer
5k
views
How to batch rename JPEG files to image date, adding a count that resets for each day?
I'm using pyrenamer with my photo collection and it works great except for one issue. I want it to rename photos by their date taken metadata, with a three-digit number at the end. Each folder in my ...
1
vote
2
answers
3k
views
How to define createdate of entire image folder using terminal with exiftool?
I have folder containing images. I have to rename them according to their date n all. But when I used
$ exiftool '-filename<CreateDate' -d %y%m%d_%H%M%S%%-c.%%le -r /home/ubuntu/house
Warning: No ...
0
votes
1
answer
334
views
How to comment multiple images at once
On Windows I had that nice bar on the bottom with the exif entries that I can't manage to make appear on Ubuntu (I'm on Lubuntu but I've tried Mate and Plasma 5.4 too).
I've tried with exiftool: ...
0
votes
1
answer
3k
views
Check if an image is transparent?
I use exiftool to check two images, but it doesn't say whether the image is transparent.
How can I check that then? Thanks.
Examples are a PBM image and a PPM image
$ exiftool test-001-001.pbm
...