• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Change a file date (creation and modification)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a file date (creation and modification)


  • Subject: Re: Change a file date (creation and modification)
  • From: Emile Schwarz <email@hidden>
  • Date: Mon, 14 Feb 2011 10:47:31 +0100

Le 13/02/11 21:00, email@hidden a écrit :
From: Matt Deatherage<email@hidden>
Subject: Re: Change a file date (creation and modification)
To: KOENIG Yvan<email@hidden>
Cc: liste AppleScript US<email@hidden>
Message-ID:
	<email@hidden>
Content-Type: text/plain;	charset=us-ascii

On Feb 13, 2011, at 4:53 AM, KOENIG Yvan<email@hidden>  wrote:

> I must say thank you because what surprised you give us a fine tip to change a creation date which may be useful in some cases.
I feel obliged to point out that at the OS level (Carbon/Cocoa/POSIX), you can always change the creation date of a file, as it is just a piece of metadata like any other -- modification date, filename, or even creator type or file type in HFS Plus data. This is how all archiving programs work: when you unzip or unstuff something, the files inside get their original creation/modification dates, not the date/time when you decompressed the archive and recreated the original files. Same with backup utilities, etc.
My first reaction (to the non working creation date…) was to open and read the dictionary to find that - for AppleScript - creation date is a r/o property.

Yvan: that was not my usage / what I had in mind, but good usage idea ('till it will be disallowed in 10.6.7 or Lion).

Matt: I have the same feeling, and I was going to use another development tool, but I tried the Modification date property to check if it works here…

Regards,

Emile
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: POSIX file permissions
  • Next by Date: Script Debugger: errOSAInternalTableOverflow:-2707
  • Previous by thread: Re: read stored variables in run only script application
  • Next by thread: Excel: Breaking External Links
  • Index(es):
    • Date
    • Thread