How do you change the date modified on a file?

8,138

I occasionally use BulkFileChanger by NirSoft.

The latest version also supports batch edits.

"BulkFileChanger is a small utility that allows you to create files list from multiple folders, and then make some action on them - Modify their created/modified/accessed time, change their file attribute (Read Only, Hidden, System), run an executable with these files as parameter, and copy/cut paste into Explorer."

Share:
8,138
Raj
Author by

Raj

Electrical Engineer and Entrepreneur

Updated on September 18, 2022

Comments

  • Raj
    Raj over 1 year

    I recorded many photos and videos with an Akoso action camera, but I never thought to change the camera's stored time. Only after creation of the files did I see that date and time stamps were saved on top of the files. While I cannot change the images without editing them, I am hoping I can at least change the file properties.

    Any way to change these date/time file properties? If so, even if just a simple script, I could then batch something for a larger folder of such pictures. Preferably I can input some offset.

    • aschipfl
      aschipfl over 4 years
      Are you talking about the date/tome stamps from the file system of the image files, or about the EXIF (or similar) data embedded in the images? For the former, you can use almost every scripting language (although I recommend not to use batch-file as it does not support date/time data types); for the latter, you have to use some image/EXIF (batch) editor anyway...
    • Raj
      Raj over 4 years
      @aschipfl - I was asking about the former, having given up on the latter (if you have any ideas I'm all ears!). Are you suggesting that similar to mv in bash, as used to change file names, there is an easy way to change file properties?