Questions tagged [exiftool]

ExifTool is a platform-independent Perl library and command-line application for reading, writing and editing meta information in a wide variety of files.

Homepage: http://www.sno.phy.queensu.ca/~phil/exiftool/

375 questions
0
votes
2 answers

What tool to use for this regex

I am using a combination of Automator, Bash, and Exiftool to take filenames like this: 0615090217.jpg and change the date created to 2009:06:15 02:17:00. Most of the pieces of the puzzle are working, I even have working regex, I just don't know how…
bookcasey
  • 39,223
  • 13
  • 77
  • 94
0
votes
1 answer

Rename/organize images based on EXIF creation date using imagemagick

I'm looking for a command line solution to rename, organize digital photos into directories, using creation date from EXIF info. DCIM/**/*.[JPG|CR2] > /path/to/gallery/[YYYY-MM-DD]/[YYYYMMDD-HHMMSS-C].[EXT] I had a working solution using…
ijavid
  • 715
  • 12
  • 23
0
votes
2 answers

Shell: use of for on a variable list

Unfortunately my shell skills are very bad and I would need some help in running a simple script on my QNAP to fix some date problem on some videos. The script I put in place is very easy: in a given folder check if there are .mp4 files starting…
giopas
  • 645
  • 1
  • 6
  • 10
0
votes
1 answer

why I am getting this warning when I try to add xmp to a jpeg using libjpeg

I am trying to convert a code that write exif into a jpeg image. The original code was this: jpeg_write_marker(&cinfo, 0xe1, (unsigned char *)&ex, exifsize); where the ex is a block of memory that exif data was written into it and exifsize if the…
mans
  • 17,104
  • 45
  • 172
  • 321
0
votes
1 answer

Exiftool in nodejs for heroku

I have the problem that I need to use the exiftool, since I could command more metadata packages that are in NPM. But this program is not loaded in heroku, What is the method to install this command?
Alejo Next
  • 383
  • 1
  • 15
0
votes
1 answer

Attach the extracted metadata to original file

I have some files from which i removed the metadata and extracted it in YML file using exiftool. Now i want to attach those files again to same files. I tried EXIV2 but its not working. Is there any tool or specific command to make it work. Thanks…
Shilpi Agrawal
  • 595
  • 3
  • 11
  • 26
0
votes
1 answer

Bulk change date to present date with ExifTool

I have a bunch of images with different create dates. I want to normalize them all to a given date (say today's date) using a batch file (Windows). Can ExifTool set dates? I only see documentation and examples for shifting dates. To shift the date…
abalter
  • 9,663
  • 17
  • 90
  • 145
0
votes
1 answer

File name contains pixel dimensions that need to be converted to inches

I am about to receive 1000+ files that will need to be renamed so the names contain their print dimensions. I've figured out how to extract the pixel dimensions and rename the files to include that with exiftool but I'm not sure what the best…
Sam
  • 3
  • 2
0
votes
0 answers

Encoding problems using popen

I got a InDesign page filled with 4 pictures. Im using ex = os.popen('exiftool -T -IngredientsFilePath '+item).read() to get back all pictures and their filepath used in that document But when i try to write this answer into a file it seems the…
Yierith
  • 141
  • 1
  • 5
0
votes
1 answer

I am using gem exiftool to extract metadata how can i print that data in proper table format?

I have used gem exiftool to extract metadata on my rails project but on my browser its printing like an array. I want to print it in proper keys and values format. My code is this and its not working. photo = Exiftool.new oldpath(myfile) …
0
votes
1 answer

Call exiftool from Python - basics

I would like to call exiftool in Windows 7 from within a python script to both extract and add info to the image tags, but I'm stumbling over the basic workflow to do this. This question and answer addresses this topic, but I have a couple of basic…
Crazy Otto
  • 125
  • 2
  • 13
0
votes
2 answers

pass parameters containing white space on command line

I would like to pass a parameter containing white space. For example: C:\temp>exiftool.exe -"Region Person Display Name" temp.jpg Can someone please give me direction here? The obvious does not appear to work.
Ajax
  • 1,418
  • 2
  • 17
  • 38
0
votes
1 answer

Exiftool and stay open - arg list not working

I am just using the exiftool in Windows with the stay open mode. All my commands I converted to write to the arg file did work but this one even not. Does anybody what might be the problem? -overwrite_original_in_place "-rawfilename
rokdd
  • 541
  • 4
  • 14
0
votes
1 answer

Update file number from file name using exiftool

I'm clicking photos on a camera (Fuji x100s) that doesn't store the filenumber tag in the exif. Though it adds this information in the file name, eg, DSCF0488.JPG, DSCF0489.JPG, DSCF0490.JPG. How do I extract this number and set it as the file…
zsquare
  • 9,916
  • 6
  • 53
  • 87
0
votes
2 answers

Writing an Excel macro that passes commands to Windows Shell

I have an Excel file containing metadata information for 20k+ images. I'm trying to write a macro that executes commands with exiftool.exe (a tool used to batch edit metadata) on Windows Shell with variables relative to each row. For instance, I…
Werner Hertzog
  • 2,002
  • 3
  • 24
  • 36