Re: Set File Creation date
Re: Set File Creation date
- Subject: Re: Set File Creation date
- From: "Paul F. Henegan" <email@hidden>
- Date: Thu, 06 Jan 2005 16:12:25 -0500
on 18.12.2004 02:25, Paul Berkowitz at email@hidden wrote:
> On 12/17/04 10:54 PM, "Gnarlodious" <email@hidden> wrote:
>
>> Is there any way to set a file's creation date?
>>
>> This runs:
>> tell application "Finder" to set the creation date of (info for someFile) to
>> date "Thursday, December 2, 2004 11:28:16 PM"
>>
>> but doesn't do anything.
>
> First of all, someFile already has a 'creation date' property in the Finder
> - no need for an info for - but it's denoted as [r/o]. So you wouldn't be
> able set it in the Finder.
As you point out, the creation date is r/o. However, it is possible to set
the modification date. Mac OS doesn't like files that have a modification
date before their creation date and will automatically reset the creation
date...
HTH,
paul
--
Paul F. Henegan
<email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden