2025-05-21: ExifTool 12.85 is now available
exiftool "-FileName<FileModifyDate" "-FileName<CreateDate" -d "%%Y-%%m-%%d_%%%%f.%%%%e" .
in a batch file which generates the filename "2017-10-03_ram_1.jpg" which is exactly what I wanted.Create Date : 2017:10:03 11:27:27.069474
Date/Time Original : 2017:10:03 11:27:27.069474
Modify Date : 2017:10:03 11:27:27.069474
exiftool -d "%Y%m%d-%H%M%%-03.c.%%e" "-filename<CreateDate" .
results inWarning: [minor] Unrecognized MakerNotes - ./ram_1.jpg
1 directories scanned
1 image files updated
and creates a file "mHe" (without extension).exiftool -fileOrder DateTimeOriginal -recurse -extension jpg -extension jpeg -ignoreMinorErrors "-FileName<CreateDate" -d "%Y-%m-%d%%-.3nc.%%e" .
results inWarning: Error rebuilding maker notes (may be corrupt) - ./ram_1.jpg
1 directories scanned
1 image files updated
and creates a file "m-e" without extension.exiftool -d "%Y:%m:%d %H:%M%g" "-filename<CreateDate" .
reportsWarning: New file name not allowed in Windows (contains ':') - ./ram_1.jpg
1 directories scanned
0 image files updated
1 files weren't updated due to errors
exiftool "-FileName<Datetimeoriginal" -d "%Y-%m-%%.3nc.%%e" -fileorder datetimeoriginal -ext jpg -r Z:/Uploads/PhotosAndVideos/Photos
exiftool "-FileName<Datetimeoriginal" -d "Z:/Photos/%Y/%m-%b-%Y/%d-%m-%Y-%H-%M-%S-%%-3f.%%e" -ext jpg Z:/Uploads/PhotosAndVideos/Photos
exiftool -s -G0:2 -a -U -w out/%f_%e.txt /Volumes/EOS_DIGITAL/DCIM/100CANON/IMG_988[5-9].CR3 /Volumes/EOS_DIGITAL/DCIM/100CANON/IMG_9890.CR3
egrep Canon_AFConfig_0x0014 out/*
out/IMG_9887_CR3.txt:[MakerNotes:Camera] Canon_AFConfig_0x0014 : 1
out/IMG_9888_CR3.txt:[MakerNotes:Camera] Canon_AFConfig_0x0014 : 2
out/IMG_9889_CR3.txt:[MakerNotes:Camera] Canon_AFConfig_0x0014 : 3
out/IMG_9890_CR3.txt:[MakerNotes:Camera] Canon_AFConfig_0x0014 : 0
Quote from: StarGeek on May 23, 2024, 11:21:25 AMI would suggest also including the OffsetTime* tags
exiftool -a -G1 -s -api QuickTimeUTC=1 -Time:All canon.mov
[QuickTime] CreateDate : 2003:03:03 12:03:03+02:00
[QuickTime] ModifyDate : 2003:03:03 12:03:03+02:00
[Track1] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track1] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track1] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track1] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track2] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track2] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track2] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track2] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track3] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track3] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track3] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track3] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Keys] LocationDate : 2015:08:08 13:03:06+03:00
[IFD0] ModifyDate : 2015:08:08 13:02:57
[ExifIFD] DateTimeOriginal : 2015:08:08 13:02:57
[ExifIFD] CreateDate : 2015:08:08 13:02:57
[Canon] TimeZone : +03:00
[Canon] TimeZoneCity : Cairo
[Canon] DaylightSavings : On
[ExifIFD] SubSecTime : 55
[ExifIFD] SubSecTimeOriginal : 55
[ExifIFD] SubSecTimeDigitized : 55
exiftool -ThumbnailImage -b canon.mov | exiftool -Time:All='2020:01:01 12:00:00' -TimeZone='-05:00' -TimeZoneCity='New York' -DaylightSavings=Off -wm w - | exiftool -ThumbnailImage'<=-' canon.mov
exiftool -a -G1 -s -api QuickTimeUTC=1 -Time:All canon.mov
[QuickTime] CreateDate : 2003:03:03 12:03:03+02:00
[QuickTime] ModifyDate : 2003:03:03 12:03:03+02:00
[Track1] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track1] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track1] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track1] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track2] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track2] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track2] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track2] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track3] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track3] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track3] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track3] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Keys] LocationDate : 2015:08:08 13:03:06+03:00
[IFD0] ModifyDate : 2020:01:01 12:00:00
[ExifIFD] DateTimeOriginal : 2020:01:01 12:00:00
[ExifIFD] CreateDate : 2020:01:01 12:00:00
[Canon] TimeZone : -05:00
[Canon] TimeZoneCity : New York
[Canon] DaylightSavings : Off
exiftool -ThumbnailImage -b canon.mov | exiftool -Time:All='2020:01:01 12:00:00' -TimeZone='-05:00' -TimeZoneCity='New York' -DaylightSavings=Off '-ExifIFD:OffsetTime*=-05:00' - | exiftool -ThumbnailImage'<=-' canon.mov
exiftool -a -G1 -s -api QuickTimeUTC=1 -Time:All canon.mov
[QuickTime] CreateDate : 2003:03:03 12:03:03+02:00
[QuickTime] ModifyDate : 2003:03:03 12:03:03+02:00
[Track1] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track1] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track1] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track1] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track2] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track2] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track2] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track2] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Track3] TrackCreateDate : 2003:03:03 12:03:03+02:00
[Track3] TrackModifyDate : 2003:03:03 12:03:03+02:00
[Track3] MediaCreateDate : 2003:03:03 12:03:03+02:00
[Track3] MediaModifyDate : 2003:03:03 12:03:03+02:00
[Keys] LocationDate : 2015:08:08 13:03:06+03:00
[IFD0] ModifyDate : 2020:01:01 12:00:00
[ExifIFD] DateTimeOriginal : 2020:01:01 12:00:00
[ExifIFD] CreateDate : 2020:01:01 12:00:00
[ExifIFD] OffsetTime : -05:00
[ExifIFD] OffsetTimeOriginal : -05:00
[ExifIFD] OffsetTimeDigitized : -05:00
[Canon] TimeZone : -05:00
[Canon] TimeZoneCity : New York
[Canon] DaylightSavings : Off
[GPS] GPSTimeStamp : 12:00:00
[GPS] GPSDateStamp : 2020:01:01
[IPTC] DateSent : 2020:01:01
[IPTC] TimeSent : 12:00:00+02:00
[IPTC] ReleaseTime : 12:00:00+02:00
[IPTC] ExpirationDate : 2020:01:01
[IPTC] ExpirationTime : 12:00:00+02:00
[IPTC] ReferenceDate : 2020:01:01
[IPTC] DateCreated : 2020:01:01
[IPTC] TimeCreated : 12:00:00+02:00
[IPTC] DigitalCreationDate : 2020:01:01
[IPTC] DigitalCreationTime : 12:00:00+02:00
[XMP-DICOM] PatientBirthDate : 2020:01:01 12:00:00
[XMP-DICOM] SeriesDateTime : 2020:01:01 12:00:00
[XMP-DICOM] StudyDateTime : 2020:01:01 12:00:00
[XMP-Device] CameraPoseTimestamp : 2020:01:01 12:00:00.000+02:00
[XMP-Device] EarthPosTimestamp : 2020:01:01 12:00:00.000+02:00
[XMP-Device] PlanePoseTimestamp : 2020:01:01 12:00:00.000+02:00
[XMP-Device] PoseTimestamp : 2020:01:01 12:00:00.000+02:00
[XMP-GPano] FirstPhotoDate : 2020:01:01 12:00:00
[XMP-GPano] LastPhotoDate : 2020:01:01 12:00:00
[XMP-getty] OriginalCreateDateTime : 2020:01:01 12:00:00
[XMP-iptcExt] ArtworkDateCreated : 2020:01:01 12:00:00
[XMP-iptcExt] CircaDateCreated : 2020:01:01 12:00:00
[XMP-iptcExt] IPTCLastEdited : 2020:01:01 12:00:00
[XMP-iptcExt] PublicationEventDate : 2020:01:01 12:00:00
[XMP-iptcExt] TemporalCoverageFrom : 2020:01:01 12:00:00
[XMP-iptcExt] TemporalCoverageTo : 2020:01:01 12:00:00
[XMP-iptcExt] MetadataLastEdited : 2020:01:01 12:00:00
[XMP-MP] RegionInfoDateRegionsValid : 2020:01:01 12:00:00
[XMP-microsoft] DateAcquired : 2020:01:01 12:00:00
[XMP-cc] DeprecatedOn : 2020:01:01 12:00:00
[XMP-dc] Date : 2020:01:01 12:00:00
[XMP-digiKam] CaptionsDateTimeStamps : 2020:01:01 12:00:00
[XMP-dwc] EventEarliestDate : 2020:01:01 12:00:00
[XMP-dwc] EventDate : 2020:01:01 12:00:00
[XMP-dwc] EventTime : 2020:01:01 12:00:00
[XMP-dwc] EventLatestDate : 2020:01:01 12:00:00
[XMP-dwc] EventVerbatimEventDate : 2020:01:01 12:00:00
[XMP-dwc] HumanObservationEarliestDate : 2020:01:01 12:00:00
[XMP-dwc] HumanObservationEventDate : 2020:01:01 12:00:00
[XMP-dwc] HumanObservationEventTime : 2020:01:01 12:00:00
[XMP-dwc] HumanObservationLatestDate : 2020:01:01 12:00:00
[XMP-dwc] HumanObservationVerbatimEventDate: 2020:01:01 12:00:00
[XMP-dwc] DateIdentified : 2020:01:01 12:00:00
[XMP-dwc] MachineObservationEarliestDate : 2020:01:01 12:00:00
[XMP-dwc] MachineObservationEventDate : 2020:01:01 12:00:00
[XMP-dwc] MachineObservationEventTime : 2020:01:01 12:00:00
[XMP-dwc] MachineObservationLatestDate : 2020:01:01 12:00:00
[XMP-dwc] MachineObservationVerbatimEventDate: 2020:01:01 12:00:00
[XMP-dwc] MeasurementDeterminedDate : 2020:01:01 12:00:00
[XMP-dwc] RelationshipEstablishedDate : 2020:01:01 12:00:00
[XMP-exif] DateTimeDigitized : 2020:01:01 12:00:00
[XMP-pdf] CreationDate : 2020:01:01 12:00:00
[XMP-photoshop] DateCreated : 2020:01:01 12:00:00
[XMP-plus] FirstPublicationDate : 2020:01:01 12:00:00
[XMP-plus] LicenseEndDate : 2020:01:01 12:00:00
[XMP-plus] LicenseStartDate : 2020:01:01 12:00:00
[XMP-plus] LicenseTransactionDate : 2020:01:01 12:00:00
[XMP-prism] CoverDate : 2020:01:01 12:00:00
[XMP-prism] DateRecieved : 2020:01:01 12:00:00
[XMP-prism] KillDateDate : 2020:01:01 12:00:00
[XMP-prism] ModificationDate : 2020:01:01 12:00:00
[XMP-prism] OffSaleDateDate : 2020:01:01 12:00:00
[XMP-prism] OnSaleDateDate : 2020:01:01 12:00:00
[XMP-prism] PublicationDateDate : 2020:01:01 12:00:00
[XMP-prism] PublicationDisplayDateDate : 2020:01:01 12:00:00
[XMP-pur] EmbargoDate : 2020:01:01 12:00:00
[XMP-pur] ExclusivityEndDate : 2020:01:01 12:00:00
[XMP-pur] OptionEndDate : 2020:01:01 12:00:00
[XMP-tiff] DateTime : 2020:01:01 12:00:00
[XMP-xmp] MetadataDate : 2020:01:01 12:00:00
[XMP-xmpDM] AudioModDate : 2020:01:01 12:00:00
[XMP-xmpDM] MetadataModDate : 2020:01:01 12:00:00
[XMP-xmpDM] ShotDate : 2020:01:01 12:00:00
[XMP-xmpDM] VideoModDate : 2020:01:01 12:00:00
[XMP-xmpMM] DerivedFromLastModifyDate : 2020:01:01 12:00:00
[XMP-xmpMM] HistoryWhen : 2020:01:01 12:00:00
[XMP-xmpMM] IngredientsLastModifyDate : 2020:01:01 12:00:00
[XMP-xmpMM] ManagedFromLastModifyDate : 2020:01:01 12:00:00
[XMP-xmpMM] ManifestReferenceLastModifyDate : 2020:01:01 12:00:00
[XMP-xmpMM] RenditionOfLastModifyDate : 2020:01:01 12:00:00
[XMP-xmpMM] VersionsEventWhen : 2020:01:01 12:00:00
[XMP-xmpMM] VersionsModifyDate : 2020:01:01 12:00:00
Quote from: Phil Harvey on April 29, 2024, 03:12:24 PMI'll patch this in 12.85. But you will still have to use the -m switch if the 'moov' atom is larger than 32 MB.
exiftool -a -G1 -s -api LargeFileSupport=1 movie.mov
[ExifTool] ExifToolVersion : 12.85
[ExifTool] Warning : [Minor] Skipping 'moov' atom > 32 MiB
[System] FileName : movie.mov
[System] Directory : .
[System] FileSize : 242 MB
[System] FileModifyDate : 2022:06:12 19:23:17+03:00
[System] FileAccessDate : 2024:05:23 18:26:35+03:00
[System] FileInodeChangeDate : 2024:05:23 18:51:05+03:00
[System] FilePermissions : -rw-r--r--
[File] FileType : MOV
[File] FileTypeExtension : mov
[File] MIMEType : video/quicktime
[QuickTime] MajorBrand : Apple QuickTime (.MOV/QT)
[QuickTime] MinorVersion : 0.0.0
[QuickTime] CompatibleBrands : qt
[QuickTime] MediaDataSize : 198475459
[QuickTime] MediaDataOffset : 43093634