So I'm going to pipe yet again to head dash n1 which will say just give me the first line at the head of the results. I also get another line here, underscore Ranking. When I do that I get that creation date right here. I'm going to do grep and I'm going to look for a line that starts with this. That means send the results of this into something else. You have to use Shift and it's just a straight up and down line. Pipe is the character above the Return key on your keyboard. For now I'm going to go and pipe the results. Whereas I'm actually at plus six here in mountain time. It's six hours ahead because there is a time difference. Way up here at the top of it I will see one item here that gives me the actual creation date. So for this file I get a huge list of metadata. The next thing we want to do is get the actual date of this file. It's kind of sacred to keep the file creation dates as they were. macOS and the Finder are not built for having you manually change the creation dates of files. Also if you tried to do it too much or even just a second time with the same file sometimes it doesn't work either. So if this file had a creation date that was say 2020 and I tried to change it to 2021 it wouldn't work. First of all it can only set a creation date if it's earlier than the current creation date of the file. That would actually change the creation date for that file. So I can start typing the file name and autocomplete it there. So let's say 13 for one o'clock and then thirty for 1:30. It's the year as four digits and then the month, let's say January 31st, and then the hours as two digits. I could actually change the creation date using the Touch Command. Let's start off in Terminal and I'm already here on the Desktop. If you want to cheat and change it you can though. A file creation date should be the date that the file was created. Like they took the photo and instantly put it onto their Mac. However some people would like the photo creation date to match the photo date. So everything is fine and that may be all that you need to know. If I were to import this into another photo management app or back into photos it would use this date and time here as the date the photo was taken. I go to Tools and then Show Inspector and then here under info exif I get the metadata and there is the date of the original photo. If I double click on the photo it opens up in Preview. So it no longer remembers when the photo was taken. Now you may think that by exporting the file it has wiped out that photo metadata. That's what we see here in the Photos App when we get info on it. The photo in it has metadata that is the date that the photo was taken. I can see now the created date is June 14th at 4:01 which is right now. If I drag and drop it to the Desktop to create a file I can select it, do Command i to get info in the Finder on it. If I get information on it with Command i, I can see this photo was taken on May 27 at 6:59. Now I get a lot of questions about this particular problem that happens when you export a photo from something like the Photos App. Join us and get exclusive content and course discounts. There you can read more about the Patreon Campaign. MacMost is brought to you thanks to a great group of more than 1000 supporters. Today I'm going to show you how to change the creation date of a file to match the photo date. Video Transcript: Hi, this is Gary with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |