How to Change File Dates

When a file is created on a computer, it is automatically given a set of attributes. These attributes include the date, size and file format. However, file dates may occasionally need to be changed. Windows 8, Windows 10 and Mac are the...

Method 1 of 2:

Changing "Date Created" and "Date Modified" for Files in Windows 8 and 10

  1. Picture 1 of How to Change File Dates
    Download BulkFileChanger if you do not already have a copy in your system. This utility program enables you to create lists of Windows files and change their attributes.
  2. Picture 2 of How to Change File Dates
    Run BulkFileChanger. When the main menu appears, click File and then Add Files.
  3. Picture 3 of How to Change File Dates
    Select the file (or folder) where you want to change the date/time attribute. It will show up as an entry on a list.
  4. Picture 4 of How to Change File Dates
    Click on Actions and then Change Time/Attributes.
  5. Picture 5 of How to Change File Dates
    Change the Date Created or Date Modified attribute. You can just check the boxes on the menu for what you want to modify. You can add a specific amount to the current times on the file or even copy time from one file to another to make them match.
  6. Picture 6 of How to Change File Dates
    Click on Do it when you have changed the time as desired. The files will now reflect the new "Date Created" and "Date Modified" times you created.[1]
Method 2 of 2:

Changing a File Date on a Mac Running OS X

  1. Picture 7 of How to Change File Dates
    Launch the OS X "Terminal." Pull down the "Applications" menu, then click on "Utilities", then launch Terminal.
  2. Picture 8 of How to Change File Dates
    Find the file path of the file you are interested in. Drag and drop the file onto the Terminal window, and Terminal will provide the file path at the command prompt. The file path can then be copied.[2]
  3. Picture 9 of How to Change File Dates
    Enter the terminal command "touch -mt YYYYMMDDhhmm.ss [file path]" into the Terminal. This will change the modification date. This sends a command to the touch utility (which sets the modification and access times of files) to set the new date and time. NOTE: YYYY means the year, MM the month, DD the day, hh the hour, mm the minute, ss the second of the target time.
  4. Picture 10 of How to Change File Dates
    Enter the command "touch -at YYYYMMDDhhmm.ss [file path]". This will change the access date.
  5. Picture 11 of How to Change File Dates
    Enter the command "touch -t YYYYMMDDhhmm.ss [file path]". This will change the creation date, unfortunately, only if the target time is before the original creation time. If your target time is after the original creation time, see the citation for the solution.[3]
Update 05 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile