Main Menu

Recent posts

#91
Newbies / Re: Error converting GPSLatitu...
Last post by Phil Harvey - February 07, 2025, 06:46:17 AM
It is funny how I don't ever remember this specific problem occurring, then it happens twice within a week.

- Phil
#92
The "exiftool" Application / Re: Applying globaltimeshift o...
Last post by Phil Harvey - February 07, 2025, 06:44:29 AM
Instead of doing a GlobalTimeShift for CreateDate in MP4 files, you should be using the -api QuickTimeUTC option.

- Phil
#93
The "exiftool" Application / Applying globaltimeshift optio...
Last post by eltaniin - February 07, 2025, 06:20:45 AM
Hello.

I want to rename my mp4 files using CreateDate and TimeZone tag.
These mp4 files have time tags as shown below.
In this case, its datetime should be "2017:01:19 17:21:13"

exiftool.exe -d "R%y%m%d_%H%M%S%%+c.%%ue" "-filename<CreateDate" -globaltimeshift "0:0:0 1:0:0" -progress *.mp4

If I use the command above, it is done as I wanted.
But I had to set globaltimeshift option manually like "0:0:0 1:0:0".
How can I set globaltimeshift option using TimeZone tag?

CreateDate                      : 2017:01:19 16:21:13
ModifyDate                      : 2017:01:19 16:21:13
TrackCreateDate                 : 2017:01:19 16:21:13
TrackModifyDate                 : 2017:01:19 16:21:13
MediaCreateDate                 : 2017:01:19 16:21:13
MediaModifyDate                 : 2017:01:19 16:21:13
TimeZone                        : +01:00
LastUpdate                      : 2017:01:19 17:21:13+01:00
#94
The "exiftool" Application / Re: exiftool change in behavio...
Last post by greybeard - February 07, 2025, 04:08:48 AM
Quote from: StarGeek on February 06, 2025, 08:42:44 PMTry this date option on the Mac
-d "%Y%m%d_%H%M%S%%-c.%%e"

or this date on the Mac:

-d '%Y%m%d_%H%M%S%%-c.%%e'
#95
The "exiftool" Application / Re: exiftool change in behavio...
Last post by StarGeek - February 06, 2025, 08:42:44 PM
As written, it should not have worked on Windows. Even less so in a BAT file.

When you are using the file name percent variables (the %c and %e) in a -d (-dateFormat) option, the percent signs must be doubled. In a bat file, percent signs must be doubled again, so your BAT file should have had this in order to work.
-d "%%Y%%m%%d_%%H%%M%%S%%%%-c.%%%%e"

Either %c or %e used directly will have a different meaning as a date format code. Only %c is listed under the Common Date Format Codes, so I assume that the "preferred locale date/time representation" on the Mac is the "Thu  6 Feb 17:57:36 2025" part.

Try this date option on the Mac
-d "%Y%m%d_%H%M%S%%-c.%%e"
#96
The "exiftool" Application / exiftool change in behavior be...
Last post by DS256 - February 06, 2025, 08:15:09 PM
I had the following command install in a Windows BAT file to rename all files in a directory. It's been working for years

exiftool "-filename<CreateDate" -d "%Y%m%d_%H%M%S%-c.%e" .
I copied and modified the file to a MACos SH file but the renaming of the file changed.

On Windows, '_DSC4727.NEF' would have been changed to '20250206_175736.NEF'. On MACos, it is changed to 20250206_175736Thu  6 Feb 17:57:36 2025. 6'

I looked this documentation and my form seems to be correct.

I'm running exiftool 13.13 on MACos 15 M4

Thanks
#97
Newbies / Re: Error converting GPSLatitu...
Last post by sdeneice - February 06, 2025, 04:00:33 PM
Ah.  Figured it out.  Had 'N' for long ref and 'W' for lat ref.  :-[
#98
Metadata / Re: Nikon FaceDetect tags
Last post by StarGeek - February 06, 2025, 02:54:12 PM
Quote from: capricorn on February 06, 2025, 01:20:32 PMWhat's also missing in your repository is the EXIF "king of detection" - Fuji. Fuji stores all kinds of "face elements" from eyes to aircraft or train cockpits in the same place, so it's a piece of cake to make this information visible.

I was only searching on the main tag that the script checked for, FacesDetected. The samples in Phil's repository had a FacesDetected value of 0.

#99
Newbies / Re: Error converting GPSLatitu...
Last post by StarGeek - February 06, 2025, 02:47:30 PM
Sounds like the exact same problem as in this post from a few days ago.

The same answer applies. Longitude is East/West. Latitude is North/South. Best tip if you are using a decimal number for the coordinate, pass the directly to the tag, don't try to convert it to a direction. Exiftool will write the correct reference based upon whether the value is negative or positive.

Read my response there for all the options.
#100
Newbies / Re: Can you rename a raw file ...
Last post by Phil Harvey - February 06, 2025, 02:17:14 PM
Doh.  Simpler than I thought

Thanks StarGeek