ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: bmn on January 05, 2019, 01:31:09 PM

Title: How to change the Date Modified of a directory?
Post by: bmn on January 05, 2019, 01:31:09 PM
I would like to change the Date Modified of a directory to match the date of the file it contains. Can exiftool do this? I am running MacOS.
Title: Re: How to change the Date Modified of a directory?
Post by: Phil Harvey on January 05, 2019, 04:40:04 PM
ExifTool can not set the date/time of a directory.  Just files.

- Phil
Title: Re: How to change the Date Modified of a directory?
Post by: Hubert on January 06, 2019, 04:24:08 AM
Quote from: bmn on January 05, 2019, 01:31:09 PM
I would like to change the Date Modified of a directory to match the date of the file it contains. Can exiftool do this? I am running MacOS.

AppleScript can change the modification dates of folders, but it's probably outside the scope of this forum.