banner



How To Change Timestamp On Word Document Mac

How to Modify a File's Last Modified and Creation Dates on Mac Os X

Danilo Stern-Sapad HackerNoon profile picture

@ danilosapad

Danilo Stern-Sapad

Entrepreneur, Technologist & Product Guy

This a very elementary guide on how to modify a file's "date modified" and "appointment created" attributes on Mac OS X I wrote back in May 2009. Since and so these directions have been updated for Mac OS X 10.10 Yosemite.

Date Format Key:
YYYY — The yr (the start two digits/century can exist omitted).
MM — The calendar month of the yr, from one to 12.
DD — The day of the calendar month, from 1 to 31.
hh — The hour of the 24-hour interval, from 0 to 23.
mm — The number indicating minutes, from 0 to 59.

How to change the "engagement modified" attribute of a file?
1. Open the Terminal awarding (/Applications/Utilities/Concluding.app) or if yous prefer use iTerm.

two. Blazon this into Terminal (without striking enter/render) replacing YYYYMMDDhhmm with the desired date information:

three. Open a Finder window and locate the file yous wish to alter and elevate and drib information technology into the Concluding window. Here'southward an case of what should be typed into the Terminal at this betoken:

touch -mt 200801120000 /Volumes/Mac\ HD/Pictures/somefile.jpg

200801120000 in the example above represents "January 12, 2008 at 12:00 AM" or my 20-outset altogether. Make sure to change 200801120000 to the date you want and to replace /Volumes/Mac\ Hd/Pictures/somefile.jpg with the proper path to the file you wish to modify the appointment for.

4. If all is in order press the return primal.

How to change the "engagement created" attribute of a file?
Alarm: This will change both the "date modified" and "date created" attributes.

ane. Open up the Terminal awarding (/Applications/Utilities/Last.app) or if you prefer use iTerm.

2. Type this into Terminal (without hitting enter/return) replacing YYYYMMDDhhmm with the desired date data:

3. Open a Finder window and locate the file you wish to modify and drag and drop it into the Terminal window. Here's an example of what should be typed into the Terminal at this point:

touch -t 201212211111 /Volumes/Mac\ HD/Pictures/somefile.jpg

201212211111 in the example in a higher place represent "Dec 21, 2012 11:11 AM" or the terminate of the 5,125 years that comprise the "Groovy Cycle" in the sacred Tzolk'in agenda of the Maya (and you tin can relax the earth didn't end then — and I didn't think it would when I wrote this commodity!). Make sure to change 201212211111 to the appointment you desire and to supplant /Volumes/Mac\ Hard disk drive/Pictures/somefile.jpg with the proper path to the file yous wish to modify the date for.

4. If all is in order printing the render key.

Below is supplementary data on how to batch alter/update/alter files using the commands above.

How to batch update the "date modified" aspect of multiple files? 1. Make certain all the files y'all want to change are in the superlative directory of the aforementioned folder. Don't store files in this folder if you don't want them to be modified.

2. Open upwards the Terminal awarding (/Applications/Utilities/Terminal.app) or if you adopt use iTerm.

3. Type this into Terminal (without hitting enter/return) replacing YYYYMMDDhhmm with the desired date data:

four. Open up a Finder window and locate the folder containing the files y'all wish to modify and drag and driblet it into the Final window. Here'due south an example of what should be typed into the Last at this bespeak:

touch -mt 200801120000 /Volumes/Mac\ Hd/Pictures/Album

v. Add /* to the end of the command. If you're merely targeting a specific file type include its extension (e.g. /*.jpg or /*.png). Your control should look something like this:

touch -mt 200801120000 /Volumes/Mac\ Hard disk/Pictures/Anthology/*              

6. If all is in club printing the render primal.

How to batch update the "date created" attribute of multiple files?
Warning: This will change both the "date modified" and "engagement created" attributes.

1. Make sure all the files you lot want to modify are in the top directory of the same folder. Don't store files in this binder if y'all don't want them to exist modified.

2. Open up the Final application (/Applications/Utilities/Terminal.app) or if you adopt use iTerm.

3. Blazon this into Concluding (without hitting enter/return) replacing YYYYMMDDhhmm with the desired appointment information:

four. Open a Finder window and locate the folder containing the files you wish to modify and drag and drib it into the Terminal window. Here's an case of what should be typed into the Concluding at this point:

touch -t 201212211111 /Volumes/Mac\ Hard disk drive/Pictures/Album

201212211111 in the example above correspond "Dec 21, 2012 11:11 AM". Make sure to change 201212211111 to the date you desire and to supercede /Volumes/Mac\ Hd/Pictures/Album with the proper path to the folder containing the files you wish to alter the date for.

5. Add /* to the end of the command. If you're merely targeting a specific file blazon include its extension (due east.g. /*.jpg or /*.png). Your command should wait something similar this:

touch -t 201212211111 /Volumes/Mac\ HD/Pictures/Album/*              

6. If all is in guild press the return key.

Hope you enjoyed or at least found this tutorial useful. If you take whatever questions or comments let me know!

Originally published at http://danilo.ariadoss.com on May 31, 2009.

Tags

# tutorial# mac

Related Stories

Source: https://hackernoon.com/how-to-change-a-file-s-last-modified-and-creation-dates-on-mac-os-x-494f8f76cdf4

Posted by: combsobjer1979.blogspot.com

0 Response to "How To Change Timestamp On Word Document Mac"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel