In searching for an answer to this question I found an applescript to
change the creation date on the web. However it didn't work properly. I
emailed the author and he sent me an updated script which works beautifully.

A better finder is great too, but costs $.

His email with the script is below.

Thursday, August 6, 20094:18 PMHarry [email protected]

>Is there a way to change the creation date on a photo or other file?
>
>TIA
>
>Harry
>
>
>
>_______________________________________________
>MacGroup mailing list
>[email protected]
>http://www.math.louisville.edu/mailman/listinfo/macgroup
>

Harry,

Sorry for the delay. It took me a while to look into this, but I've
figured it out and improved the script.

First, you weren't doing anything wrong. The command 'touch' doesn't
seem to change the creation date reliably, as you have discovered. It
is actually changing the "access time," which is not exactly the same
as the creation date in the Finder. My original script worked in some
cases, but not other.

So, I put together a script that uses either Apple's SetFile (only if
you have Apple's Developer Tools installed), or, alternatively,
HAMSoft Engineering's free (and unsupported) ChangeFileDates command
line tool. It lets you drop files/folders, run the script and select
files, and change creation and/or modification date(s).

The new script is described in my comment titled "COMPLEX script
posted online" at:
http://www.macosxhints.com/article.php?story=20060703160750583
Direct Link: http://www.macosxhints.com/comment.php?mode=view&cid=110504

I also posted the script on my website at:
http://www.danshockley.com/files/MacFileDatesChanger-1.1.applescript

You could probably strip out quite a bit of it if your needs are
simpler, but it's there if you need it.

I hope that helps.

Dan


---
Daniel A. Shockley
[email protected]
[email protected]



On Sun, Aug 9, 2009 at 12:12 PM, Harry
Jacobson-Beyer<[email protected]> wrote:
> Hi Dan,
>
> I found your applescript to change creation dates on files at:
>
> <http://www.macosxhints.com/article.php?story=20060703160750583>
>
> I copied the code and pasted it into Applescript editor and saved it as
> an application.
>
> When I drop a file on it and enter a new date it changes the  modified
> date not the creation date.
>
> I'm running 10.5.7 on a two year old macbook pro.
>
> What am I doing wrong?
>
> Thanks.
>
> Harry
>
> Harry Jacobson-Beyer
> 1405 South First Street
> Louisville, KY 40208
>
> 502-634-1103 (h)
> 502-417-4885 (c)
>
> [email protected]
>
>




_______________________________________________
MacGroup mailing list
[email protected]
http://www.math.louisville.edu/mailman/listinfo/macgroup

Reply via email to