Can Exiftool change date/time of directories?

Started by jls3512, September 07, 2015, 09:36:34 AM

Previous topic - Next topic

jls3512

I see Exiftool can create directories and copy files to them, but is there a way exiftool can change the create date, modify date and access date of existing directories?   I would like to adjust the date / time of all my directories to be that of the oldest file in the directory.

StarGeek

I don't believe you can.    It would probably require a script.  Under Linux/Mac you could probably make a script that uses touch to do the actual change.  Under Windows, you can use PowerShell (Stackoverflow solution here).
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).