CLI tool and C++ library to manage image metadata (Exif, IPTC and XMP)
Questions tagged [exiv2]
4 questions
25
votes
4 answers
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 same timestamp (including seconds). How can I make…
student
- 17,875
- 31
- 103
- 169
9
votes
2 answers
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 alternative to something like this:
exiv2 DSC_01234.NEF…
apparat
- 622
- 1
- 5
- 14
4
votes
1 answer
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 name : 9b523e5a002268fe5067a928
File size …
SimpleSpawn
- 143
- 1
- 5
1
vote
1 answer
Exiv2: How to print tag values without printing the corresponding filenames
I'm using exiv2 0.27.2. I want to print the tag values of multiple webp files, but without the filename being printed.
With the following command:
exiv2 -g Exif.Image.Artist -Pv *.webp
I get the following output:
3q2NIGNI_o.webp …
whitewings
- 2,377
- 7
- 32
- 53