All replies

The place you type it in is an app called Terminal.

  • Publisher's Description.
  • find samsung blu ray player mac address.

You can find this in your Utilities folder, or use Spotlight search to find it. Once you start it, you get a command line window where you can type in commands. Just because you are typing doesn't mean it has anything to do with coding, but to someone new to "old fashioned" OS commands it can look a little intimidating. So, the command is called touch , and after the command you can pass various parameters, the only required one being the filename.

Typing the following will set the last modified date of the file to the current time:. Of course, you may need to find the file first, which could require further commands to get to it.

Latest posts on Instagram

More advanced usage of the touch command allows you to specify the time you want to set, rather than using the time at execution, set access instead of modification times etc. This is what parameters like -t and others do. Some set the time to be the time of another file, some set it to go back, or forward in time by X amount, see here for more details , eg:.

The following is from this page which is also useful reference, and a great example with some tips for those who are uncomfortable with file locations on the command line.

macos - Changing Creation Date of a file - Ask Different

Note that this will change both the date modified and date created attributes only if your file was created after the date you enter. This is because a file cannot be modified before it has been created.

How To Edit Hosts File In Mac OS

If created before the date you set, only the modified date will be changed. Open a Finder window and locate the file you wish to modify and drag and drop it into the Terminal window, it will then insert the file location using command line terminology. Greats hints here, in particular the last one from Lauri Ranta, answered Aug 21 at The easiest way I found was to create a new folder, copy all the sub-folders of the greyed out folder into the new folder, and voila, the new folder is not greyed out.

You can even do this in the finder. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Home Questions Tags Users Unanswered. Changing Creation Date of a file Ask Question. Many thanks for your help.

"Touch" won't change file creation date -why?

The "coder" explanation other people have written about is probably a reference to "touch". You'd have to open a Terminal, navigate to the folder where the file is then use the touch command to modify the fie's creation date. This site is not responsible for what they say. Change the creation date of files using relative dates Authored by: This must be the workhorse behind data detectors in Mail. You can also change dates on a file using an application like FileXaminer [ Reply to This ]. Holding the computer down worked here after everything all was exhuasted.

Thanks peops. Charles Burns on Jan 02, '12 Here's a multi-file selection version: Change creation and modification dates multiple files. I've only done minimal testing, so let me know if it works well for you. I wanted to run one command for each batch like this: Anyone know how to do this? Search Advanced. From our Sponsor Latest Mountain Lion Hints Click here for complete coverage of Lion on Macworld.

Your Answer

User Functions Username: What's New: Hints 1 new Hints in the last 24 hours Comments last 2 days No new comments Links last 2 weeks No recent new links. What's New in the Forums? File Date Changer 5 is an affordable do-one-thing-really-well Mac App Store-exclusive version of A Better Finder Attributes 5 that concentrates entirely on file date changing. File Date Changer 5 gives you total control over file creation and modification dates, setting them to specific times and dates, adding or removing time or simply removing them altogether.

Please note that Mac OS X imposes a number of "common sense" rules when it comes to file dates and will not allow you to set dates to "invalid" values. In particular, you cannot set the dates to future values i.