Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 01 Feb 2009 (Sunday) 04:15
Search threadPrev/next
sponsored links (only for non-logged)

Questions about ExifTool

 
lsquare
Goldmember
1,933 posts
Likes: 2
Joined Apr 2008
     
Feb 01, 2009 04:15 |  #1

I'm just wondering how many people here uses ExifTool with one of the GUIs available? If so, which GUIs do you recommend? I find the command-line feature of the ExifTool itself is too complicated for me to use. I want to use the tool to adjust the capture time of my RAW files.

http://www.sno.phy.que​ensu.ca/~phil/exiftool​/ (external link)

Are the changes made by ExifTool recognized in other programs like Adobe Bridge CS4/Photoshop CS4?




  
  LOG IN TO REPLY
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Feb 01, 2009 15:43 |  #2

AFAIK you can't change RAW times using EXIFTool. Bibble does it, so does Lightroom. Google will tell you more.


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
lsquare
THREAD ­ STARTER
Goldmember
1,933 posts
Likes: 2
Joined Apr 2008
     
Feb 01, 2009 16:57 |  #3

tim wrote in post #7233762 (external link)
AFAIK you can't change RAW times using EXIFTool. Bibble does it, so does Lightroom. Google will tell you more.

On EXIFTool's page, this is one of the highlighted feature:

"Shifts date/time values (external link) to fix timestamps in images"

Have you tried it in the latest version?

I do have LR, but the problem is I'm not sure if the changes to the RAW capture time is permanate. I also don't like the idea of importing the pictures to make the changes which is why I'm looking for a different solution.




  
  LOG IN TO REPLY
GSansoucie
Senior Member
Avatar
788 posts
Likes: 2
Joined Jul 2005
Location: Southern Maine
     
Feb 01, 2009 17:45 |  #4

I used ExifTool command line only. I could have sworn I've adjusted the date/times of some Raw files in the past. I will take a peek at some of my scripts.


-=Glen=-
Flickr Stream (external link)
Check out my 2010 PaD (external link)
http://www.pbase.com/g​sansoucie (external link)

  
  LOG IN TO REPLY
GSansoucie
Senior Member
Avatar
788 posts
Likes: 2
Joined Jul 2005
Location: Southern Maine
     
Feb 01, 2009 18:07 |  #5

OK, the command line works fine.

Had I just followed your link above, I would have been done in 20 seconds...

You posted a link to the offset datetime function (put a + or a - in the date/time). You can specify an exact date time as well.

exiftool "-DateTimeOriginal=2008:​10:30 6:05:13" _MG_1931.CR2

I tried the above line on a copy of a raw file and then checked the exif data after and it worked fine.

Date/Time Original : 2008:10:30 05:13:00

Note, that if you want to set the Create Date as well, you need another parameter:

exiftool "-CreateDate=2008:10:30 6:05:13" _MG_1931.CR2

Create Date : 2008:10:30 05:13:00

Soooo.

The command line to use is:

exiftool "-CreateDate=2008:10:30 6:05:13" "-DateTimeOriginal=2008:​10:30 6:05:13" _MG_1931.CR2


Of course, you would put in the actual date/time in place of the date time I chose. You would also specify the actual filename.

If you want to apply the same date/time to all the raw files in your folder, use "-ext .cr2 ." in place of the actual filename (please note that final dot.

By default the above commands will save the original file as 'filename.original' which can get confusing. If you have faith in exiftool, you can specifiy '-overwrite_original' which will eliminate that 'filename.original' nonsense.

Hope this helps.


-=Glen=-
Flickr Stream (external link)
Check out my 2010 PaD (external link)
http://www.pbase.com/g​sansoucie (external link)

  
  LOG IN TO REPLY
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Feb 01, 2009 18:13 |  #6

lsquare wrote in post #7234172 (external link)
On EXIFTool's page, this is one of the highlighted feature:

"Shifts date/time values (external link) to fix timestamps in images"

Have you tried it in the latest version?

Interesting, didn't know it worked on raw files, thanks :)


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
lsquare
THREAD ­ STARTER
Goldmember
1,933 posts
Likes: 2
Joined Apr 2008
     
Feb 01, 2009 18:49 |  #7

GSansoucie wrote in post #7234552 (external link)
OK, the command line works fine.

Had I just followed your link above, I would have been done in 20 seconds...

You posted a link to the offset datetime function (put a + or a - in the date/time). You can specify an exact date time as well.

exiftool "-DateTimeOriginal=2008:​10:30 6:05:13" _MG_1931.CR2

I tried the above line on a copy of a raw file and then checked the exif data after and it worked fine.

Date/Time Original : 2008:10:30 05:13:00

Note, that if you want to set the Create Date as well, you need another parameter:

exiftool "-CreateDate=2008:10:30 6:05:13" _MG_1931.CR2

Create Date : 2008:10:30 05:13:00

Soooo.

The command line to use is:

exiftool "-CreateDate=2008:10:30 6:05:13" "-DateTimeOriginal=2008:​10:30 6:05:13" _MG_1931.CR2

Of course, you would put in the actual date/time in place of the date time I chose. You would also specify the actual filename.

If you want to apply the same date/time to all the raw files in your folder, use "-ext .cr2 ." in place of the actual filename (please note that final dot.

By default the above commands will save the original file as 'filename.original' which can get confusing. If you have faith in exiftool, you can specifiy '-overwrite_original' which will eliminate that 'filename.original' nonsense.

Hope this helps.

Thanks a lot for the detailed post! I feel intimiated by the command-line only programs. Have you used any of the GUI front-ends before?

When you changed the capture date, did the modification date changed as well?

What's the difference between the capture and create dates? Are both dates filled out in the Exif when the file is created within the camera?




  
  LOG IN TO REPLY
GSansoucie
Senior Member
Avatar
788 posts
Likes: 2
Joined Jul 2005
Location: Southern Maine
     
Feb 01, 2009 19:03 |  #8

lsquare wrote in post #7234774 (external link)
Thanks a lot for the detailed post! I feel intimiated by the command-line only programs. Have you used any of the GUI front-ends before?

I have not tried any of the GUI front ends, sorry can't help you there.

lsquare wrote in post #7234774 (external link)
When you changed the capture date, did the modification date changed as well?

"Modification Date" is ambigious:

File modification date will change to the date time that I ran exiftool, however, there is a way to change the file's modification date using exiftool (I run this script a lot when scanning in images).
exiftool "-DateTimeOriginal>FileModifyDate" _MG_1931.CR2

This above command is setting the actual File's Modification Date/Time to whatever the Exif DateTimeOriginal is set to.

(I'm on a Mac, Windows Dir will be a tad bit different)

-rw-r--r-- 1 glen staff 12367600 Oct 30 2006 _MG_1931.CR2

If you mean the Exif Modification Date, you just specify that tag on the command line:

exiftool "-ModifyDate=2006:10:30 6:05:13" _MG_1931.CR2

Modify Date : 2006:10:30 05:13:00

You can add all of those separate commands together on a single command line to make things easier.

lsquare wrote in post #7234774 (external link)
What's the difference between the capture and create dates? Are both dates filled out in the Exif when the file is created within the camera?

From what I can tell, yes.

FYI: If you are ever bored and want to know what tags you can set, you can run "exiftool -list", it is a large list. I usually pipe this to a text file and then open the text file whenever I forget a tag.

Also, I keep a running text file called "Exiftool What Works for me.txt" and I paste in various command line options & descriptions that I know work. I always consult this file to see if I have either tried something or if I need to get something done that isn't already in a script (or drop action) somewhere.


-=Glen=-
Flickr Stream (external link)
Check out my 2010 PaD (external link)
http://www.pbase.com/g​sansoucie (external link)

  
  LOG IN TO REPLY
lsquare
THREAD ­ STARTER
Goldmember
1,933 posts
Likes: 2
Joined Apr 2008
     
Feb 07, 2009 02:51 as a reply to  @ GSansoucie's post |  #9

I know this may be a bit dumb to ask, but I'm still hoping someone have tried out ExifTool GUI.

http://freeweb.siol.ne​t …foto/exif/exift​oolgui.htm (external link)

From the screenshot, it seems like I just need to set the "shift amount" and as long as those date and time fields are checked, then when I press "execute" the time on the EXIF will change?




  
  LOG IN TO REPLY
AntonLargiader
Goldmember
Avatar
3,127 posts
Gallery: 2 photos
Likes: 418
Joined Oct 2010
Location: Charlottesville, VA
     
Feb 05, 2023 12:39 |  #10

I'm trying to copy one value to another using ExifTool on my Mac. Specifically trying to put the "Shutter mode" value into the "Comments" field. I've tried the following but it's not working.

Shutter mode is available in the RAW:
[Track4] ShutterMode: Mechanical

I can access it with

exiftool -shuttermode 1.CR3
or with
exiftool -Track4:shuttermode 1.CR3

However, nothing I'm trying works to copy it.

exiftool -comment<shuttermode 1.CR3
-bash: shuttermode: No such file or directory

exiftool '-comment<shuttermode' 1.CR3
0 image files updated
1 image files unchanged


Using Track4:shuttermode doesn't change anything.

Any ideas? I've been following examples on the ExifTools forum but I'm out of ideas. Tried to sign up for their forum but gave up.

Image editing and C&C always OK
Gear list plus: EF 1.4X II . TT1/TT5 . Bogen/Manfrotto 3021 w/3265 ball-mount

  
  LOG IN TO REPLY
drsilver
Goldmember
Avatar
2,645 posts
Gallery: 904 photos
Best ofs: 4
Likes: 10574
Joined Mar 2010
Location: North Bend, WA
Post edited 9 months ago by drsilver. (3 edits in all)
     
Feb 05, 2023 17:10 |  #11

AntonLargiader wrote in post #19476349 (external link)
exiftool -comment<shuttermode 1.CR3
-bash: shuttermode: No such file or directory

exiftool '-comment<shuttermode' 1.CR3
0 image files updated
1 image files unchanged

Try this.

exiftool '-comment<${shuttermode}' 1.CR3

The '<' operator redirects input from a file called shuttermode. You don't have that file. You need the ${} syntax to turn shuttermode into a variable and get its value.

That command only writes the value of the tag. If you want the tag name and the value, you could use this:

exiftool '-comment<SHUTTER MODE = ${shuttermode}' 1.CR3


Flickr (external link) : Instagram (web)] (external link)

  
  LOG IN TO REPLY
AntonLargiader
Goldmember
Avatar
3,127 posts
Gallery: 2 photos
Likes: 418
Joined Oct 2010
Location: Charlottesville, VA
     
Feb 05, 2023 18:34 as a reply to  @ drsilver's post |  #12

Thanks. Unfortunately that didn't work. Tried it with and without the Track4 part.


exiftool '-comment<${shuttermode}' 1.CR3
    0 image files updated
    1 image files unchanged

exiftool '-comment<${Track4:shuttermode}' 1.CR3
    0 image files updated
    1 image files unchanged

When I run the command I can see some sort of temp file appear in Finder underneath 1.CR3 and then it goes away. When I check the file the comment has not changed.

Image editing and C&C always OK
Gear list plus: EF 1.4X II . TT1/TT5 . Bogen/Manfrotto 3021 w/3265 ball-mount

  
  LOG IN TO REPLY
drsilver
Goldmember
Avatar
2,645 posts
Gallery: 904 photos
Best ofs: 4
Likes: 10574
Joined Mar 2010
Location: North Bend, WA
     
Feb 05, 2023 20:28 as a reply to  @ AntonLargiader's post |  #13

Hmmm? When I was playing with it earlier I was working on a .jpg file and it worked fine. Now when I try it against a .CR3 or .tif, no dice. I've never tried writing to an exif tag, so my knowledge just ran out.

The ${} syntax did get rid of your "no such file or directory" error.


Flickr (external link) : Instagram (web)] (external link)

  
  LOG IN TO REPLY
AntonLargiader
Goldmember
Avatar
3,127 posts
Gallery: 2 photos
Likes: 418
Joined Oct 2010
Location: Charlottesville, VA
     
Feb 06, 2023 09:46 |  #14

I think it's the apostrophes that fixed that. Seems that without them, the shell tries to interpret parts of the command as a shell command. There is some documentation of the ${} syntax at the exiftool site; seems that it should be avoided if possible but sometimes it's necessary.

The documentation is, I'm sure, quite thorough but for a newbie it's an impenetrable wall of stuff with no structure or index. It's inconceivable to me that no one has offered to write a user-friendly manual, so I assume it's not a welcome contribution. I'd be happy to take a stab at it once I learn my way around, though.


Image editing and C&C always OK
Gear list plus: EF 1.4X II . TT1/TT5 . Bogen/Manfrotto 3021 w/3265 ball-mount

  
  LOG IN TO REPLY
AntonLargiader
Goldmember
Avatar
3,127 posts
Gallery: 2 photos
Likes: 418
Joined Oct 2010
Location: Charlottesville, VA
     
Feb 06, 2023 14:34 |  #15

Reading a bit more, it seems that ExifTool currently has limited abilities to write into CR3 files. According to a post of Phil's last month, the info in the Timed Metadata section cannot currently be modified. The origin of this problem is that the CR3 file is structured after a video file whereas the CR2 was structured after a TIFF file. Search for something like "CR3 edit exif" to find better descriptions.

I may still register and ask directly about this specific field, but I think the fact that it shows up in that "Track4" group suggests it's handled like video.


Image editing and C&C always OK
Gear list plus: EF 1.4X II . TT1/TT5 . Bogen/Manfrotto 3021 w/3265 ball-mount

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

5,361 views & 1 like for this thread, 7 members have posted to it and it is followed by 3 members.
Questions about ExifTool
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is semonsters
1064 guests, 104 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.