Then drag the file from Finder into Terminal and press "Enter." To change the Modified timestamp to the current date and time, type "touch -m" in Terminal, followed by one space. It's faster to open if you press "Cmd-Space," type "terminal" and press "Enter." Once Terminal is open, locate the file you want to change in Finder. To use Touch, you first open Terminal, which is located in the Applications folder, inside the Utilities folder. The creation date should only change from a terminal or Xcode The modification date should only change if you open the file or modify the date from a terminal Then it's much more work to determine whether it's two copies of the same file or an earlier and a later version with different content. Now I'm trying to organize all of that data, and one issue I've run into is having multiple copies of a file where the modification dates don't match. I copied over tons of random copies on half forgotten external HDDs and on impromptu CD/DVD backups to my NAS when I originally got it three years ago. I've been trying to organize my old data recently. If the destination uses a filesystem that doesn't support the MacOS extended attributes, some (all?) of those will be stored in. Your best bet is to use the Finder to copy stuff. I've also had some poor results with archiving tools, where even the modification date in the archive wasn't restored correctly. Non-native tools like rsync are very unlikely to preserve everything. I guess a good canary in the coal mine would be a colored tag: put those on files and see if they get across. Preservation of the modification date is easy to determine by just looking at the list of files in the Finder (or Terminal), but all the other metadata is hidden much better so you may lose it without realizing that at first. You want to be careful with some of the suggestions above.
0 Comments
Leave a Reply. |