Timeline for answer to Change file creation date to content created date using terminal by Jan Steinman
Current License: CC BY-SA 4.0
Post Revisions
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 28, 2022 at 17:23 | history | edited | Jan Steinman | CC BY-SA 4.0 |
Why use "touch" instead of "SetFile"?
|
| May 28, 2022 at 17:08 | history | edited | Jan Steinman | CC BY-SA 4.0 |
Added quotes on function formal parameters, so filenames can have spaces and other goofy things in them. Fixed time format for exiftool. Formatting.
|
| May 28, 2022 at 16:41 | history | edited | Jan Steinman | CC BY-SA 4.0 |
Included new function for getting EXIF creation date out of image file and setting the file system creation date.
|
| May 28, 2022 at 16:22 | comment | added | Jan Steinman | I just added some instructions for exiftool and GraphicConverter to the answer above. | |
| May 28, 2022 at 16:22 | history | edited | Jan Steinman | CC BY-SA 4.0 |
Use exiftool or GraphicConverter.
|
| May 28, 2022 at 16:08 | comment | added | Jan Steinman | It doesn't. To do that, you'll need exiftool(1) for that. Type "man exiftool" to see more than you ever wanted to know about exiftool. Type "which exiftool" to see if it exists on your system — I don't think it comes with it. If you don't have it, it is best to get it via a package manager — my favourite is homebrew. Easy install directions for homebrew are at: brew.sh. After you have homebrew installed, you can type "brew install exiftool", and Bob's your uncle! | |
| May 28, 2022 at 7:33 | comment | added | nohillside♦ | How does this read existing exif data from the file and use it in the update? | |
| May 28, 2022 at 4:18 | history | answered | Jan Steinman | CC BY-SA 4.0 |