Questions tagged [exif]
The exif tag has no usage guidance.
43
questions
0
votes
1
answer
39
views
Removing multiple attributes simultaneously via exiftool
I've been coming up with a script to remove any EXIF/IPTC/XML meta data from a JPEG file that equals 'OLYMPUS DIGITAL CAMERA'. For those who aren't aware, Olympus cameras set this attribute in all ...
1
vote
2
answers
122
views
How to batch change exif data for JPEG photo files (wrong date set in camera)?
I have taken 300 photos at an event. Afterwards I noticed that the date was set incorrectly in the camera - one day off. There are lots of EXIF data in the files, not just creation dates.
How can I ...
0
votes
1
answer
358
views
how can i touch "File Inode Change Date/Time" [duplicate]
i have an mp4 file and running exiftool i can see that the "File Inode Change Date/Time" tag changes when i touch it, but it changes to the current time and not to the date that i have ...
0
votes
1
answer
39
views
get location from drone video with command line tools
How to extract location data from drone video (DJI Mavick Pro 2) by command line? I tried both ffprobe and exiftool, no result. But as for the videos shooted by Android phone all is well.
0
votes
1
answer
178
views
Add an exif tag to a picture using exiftool
I need to add a tag named "Image Description" to a picture. However, nothing is changed. What am I missing?
cd /tmp/
wget https://i.imgur.com/jGwDTpL.jpg
pic=jGwDTpL.jpg
exiftool -Exif:...
0
votes
0
answers
40
views
command line tool return longtitude and latitude
Is there a command line tool which I input the name of a city, and it will return a latitude and longitude?
This is part of my effort trying to manually geotag my scanned photo and/or digital photo ...
0
votes
0
answers
26
views
Embed arbitrary structured metadata (key-value pairs or XML) into PDFs with XMP?
I have a process that generates PDF files from a source, and another that generates metadata about the same source in XML format. The metadata is structured (multiple levels of elements, innermost ...
1
vote
1
answer
179
views
Exiftool on WSL cannot write
Using exiftool on Windows Subsystem for Linux (WSL, Ubuntu) I can print exif data:
# exiftool test.pdf
ExifTool Version Number : 10.80
File Name : test.pdf
Directory ...
2
votes
2
answers
238
views
How to rename a file to its creation date and hash value combined in order to achieve unique filename?
I have bunch of .JPG, .NEF and .MOV files made with my Nikon DSLR, named as DSC_0001.JPG, DSC_0002.JPG and so on. After certain number is reached, new directory is made and number count restarted, ...
0
votes
0
answers
96
views
How to list all image files with a certain rating (recorded in XMP data)
I have a directory with a large list of image files (JPG). Some of them have a specific rating, which is recorded as XMP data. An example would be
XMP Exif > xmp:Rating = 5
(for a file that has 5 ...
0
votes
1
answer
393
views
how to i create new exiftool tag for pdf files as using exiftool config file on gnu/linux?
There is no subtitle meta tag for pdf in exiftool. Therefore I want to add new exif tag for pdf files, it's name must be PdfSubTitle. To do this, exiftool has a guide page. But I don't understand ...
2
votes
1
answer
827
views
How to present a slideshow with 'feh' with datestamp displayed on the photographs?
I want to show my photos in a slideshow and have the date displayed for each photograph. I tried it with feh, which is compiled with exif=1
I found --info and --drawexif but can't get it to work.
feh ...
0
votes
1
answer
81
views
How to I set document ID or ID to PDF file via terminal?
Hello I am writing a bash script, this script must give ID to pdf file. How do I solve the this, is there a way?
Example as using bash shell.
Document ID is:
$ exiftool example.pdf | grep 'Document ID'...
0
votes
1
answer
92
views
How can I quickly synchronize changed Exif tags of photos?
I have a big collection of raw photo files. On most of them I have changed the Exif Data for Dates and Time Zones. Now I want to synchronize these changes to a remote location.
I tried to use rsync. ...
1
vote
1
answer
262
views
List all mp3 files having over 320 kbps bitrate using bash
I'd like to get a list of all mp3 files with >320 bitrate. I'm not sure, how to apply the regular expression to the output of exiftool -AudioBitrate command.
find . -type f -name '*.mp3' -print0 | ...
2
votes
2
answers
824
views
Batch set MP4 create date metadata from filename
On a Linux system,
I have a bunch of MP4 files named like 20190228_155905.mp4 but with no metadata. I've previously had a similar problem with some jpg's which I solved manually with
exiv2 -M"set ...
0
votes
1
answer
1k
views
why does mediainfo not give metadata of an image like exiftool does?
I have been scratching my head on this for quite some time now. Let's see what mediainfo says on an image -
$ mediainfo ZQs3vcsHiGY.jpg
General
Complete name : ZQs3vcsHiGY....
0
votes
1
answer
550
views
Rename to exif date: Unique filenames without creating duplicate files
I recently posted a question about how to rename image filenames in a stable way to the exif date:
Exiv2 rename: Make unique filenames
This is a follow up question to it:
How can I additionally ...
20
votes
4
answers
14k
views
Rename images to exif time: Make unique filenames
If I rename images via exiv to the exif date time, I do the following:
find . -iname \*jpg -exec exiv2 -v -t -r '%Y_%m_%d__%H_%M_%S' rename {} \;
Now it might happen that pictures have exactly the ...
2
votes
1
answer
2k
views
Find images with same exif timestamp
How can I find all groups of images which have the same exif timestamp in a given directory from the command line in linux?
2
votes
1
answer
629
views
How to adjust the Exif timestamp of a photo using the date in its name
I'm trying to get the filename of a screenshot on an Android phone (which contains the date it was taken) as a string and add it to the Exif timestamp of that screenshot (which doesn't seem to have ...
3
votes
1
answer
264
views
Shell script to add different GPS data to series of photos
I have a drone that I used to make a flight movie, and I am going to use this footage to build a DEM (digital elevation model) of the topography I was filming. I can extract frames from the movie ...
2
votes
0
answers
593
views
rename mov/mts files with exif data
I am trying to rename mov/mts files with their exif data. I have checked various
ways with shotwell, gthumb, etc. Although gthumb does recognise the data, it will not rename (only jpg). I also looked ...
0
votes
2
answers
1k
views
Why exif Orientation does not force image horizontal? [duplicate]
I am trying to have some stability in image orientations but they differ in Debian image viewer/LaTeX and with image viewers.
I do but it does not have an effect on the orientation of wrongly ...
1
vote
1
answer
337
views
use `exivtool` to rename Photos by location
This is how you can rename all Jpegs in a folder by geolocation and date:
exiftool '-filename<${gpslatitude;} ${gpslongitude} ${datetimeoriginal}' -d "%Y-%m-%d %H.%M.%S%%-c.%%e" *.JPG
this ...
4
votes
1
answer
6k
views
Extract latitude/longitude from an image using curl
curl -s -v -X HEAD http://sitename.com/123.jpg 2>&1 | grep '^< Last-Modified:' gets me a date. Any way I can retrieve gps coordinates of an image? Any other metadata?
36
votes
7
answers
27k
views
How to strip metadata from image files
[EDIT #1 by OP: Turns out this question is quite well answered by exiftool creator/maintainer Phil Harvey in a duplicate thread on the ExifTool Forum]
[EDIT #2 by OP: From ExifTool FAQ: ExifTool is ...
3
votes
1
answer
4k
views
Add a new custom metadata tag
I know how to change a tag value, and how to extract tag values of a file from its metadata, and yes we have great tools like id3tag, exiftool, ffmpeg and etc.
But I need to add a completely new tag, ...
0
votes
1
answer
98
views
exiv2 piped to grep - random inconsistent behavior
For a bunch of jpg photos, I have this (simplified) script to be able to extract the original date when the photo was taken (if different of 0000:00:00, not relevant for this case)
for f in *.jpg;
do ...
3
votes
3
answers
2k
views
Extract last line of multiline string
The output from exif looks like this:
ExifMnoteCanon: Loading entry 0xcf27 ('(null)')...
ExifMnoteCanon: Loading entry 0x3ca8 ('(null)')...
ExifMnoteCanon: Loading entry 0xf88a ('(null)')...
2013:08:...
3
votes
4
answers
427
views
Bash script condition always passing even when grep should return nothing
I am having issues when trying to return the one image file that fits the parameters. $1 is the search parameter, in this incident it is "real" which is a tag on one of the images (not two) in the ...
1
vote
2
answers
484
views
Copy EXIF meta data from the Keywords to the Description on a huge amount of photos in sub folders
I have over 80,000 photos that have been given proper EXIF keywords but Google Drive requires data in the Description for it to be searchable in their online app. I need to copy the contents of the ...
2
votes
1
answer
852
views
How to extract comment from ppm file?
I have ppm file X.ppm with comment :
xxd X.ppm|head -10
0000000: 5036 0a23 206d 6967 6874 796d 616e 6465 P6.# mightymande
0000010: 6c20 2d32 2e38 3034 3132 3232 3037 3833 l -2.80412220783
0000020: ...
17
votes
4
answers
8k
views
Change time (date) in or from exif data
In the question Change file created date from JPEG EXIF metadata there are great scripts to update the file system date and to match date stored in the file. But what if the “Date and Time (original)” ...
1
vote
1
answer
5k
views
Using EXIFTool to add EXIF data from filenames
There is a set of photos with timestamps in their filenames like these:
Photo on 3-09-12 at 9.24 PM #2.jpg
Photo on 3-09-12 at 9.24 PM #1.jpg
Photo on 3-09-12 at 8.23 PM.jpg
etc.
("3-09-12", ...
3
votes
1
answer
10k
views
How to change camera info in Exif using command line
I have analog camera and I give a film to the lab where they scan it, I wanted to upload it to flickr but want to change info about camera. Right now it's NORITSU KOKI QSS-32_33 and I wanted it to be ...
4
votes
3
answers
1k
views
Collect EXIF data of a directory
Is there a way to extract EXIF information of all images within a directory (into an output file)? Preferably I also need GPS data but this is not essential.
I only ask, as I have a number of ...
48
votes
6
answers
33k
views
Change file created date from JPEG EXIF metadata
When uploading to an ftp site, the original file create date seems to be lost, and I get the upload date instead. However, the Exif data in the file is correct. Is there a tool to batch change the ...
0
votes
1
answer
1k
views
Removing all tags from images [duplicate]
Possible Duplicate:
Batch delete exif info
How can I remove all tags from images under a directory (using Linux)? I can find all files with something like find pictures -type f -iname "*jpg" -...
4
votes
1
answer
2k
views
How to rename all files and add image size to file name
I can`t make this work. I have a lot of images and i want to rename his name and append image size to name using exiv2
exiv2 pr * prints all info about file
# exiv2 pr 9b523e5a002268fe5067a928
File ...
20
votes
4
answers
13k
views
Batch delete exif info
How can I recursively remove the EXIF info from several thousand JPG files?
9
votes
2
answers
4k
views
Print specific Exif image data values with exiv2
How do I print the image Exif date with a tool like exiv2?
My goal is to write the image year and month into separate variables. Do I really have to parse the output with regex or is there a ...
18
votes
8
answers
17k
views
How can I rename photos, given the EXIF data?
Let's say I have a bunch of photos, all with correct EXIF information, and the photos are randomly named (because of a problem I had). I have a little program called jhead which gives me the below ...