• 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: Set File Creation date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set File Creation date


  • Subject: Re: Set File Creation date
  • From: Bill Briggs <email@hidden>
  • Date: Sun, 19 Dec 2004 09:58:58 -0400

At 10:46 PM -0800 12/18/04, Chris Espinosa wrote:
On Dec 18, 2004, at 7:36 PM, Gnarlodious wrote:

Entity Axel Luttgens spoke thus:

Gnarlodious wrote:

Is there any way to set a file's creation date?

So, if you have installed the Developer Tools, you may use their
"SetFile" command.

Oops! How'd that sneak out? What I really meant was:

do shell script "/usr/local/bin/SetFile -d \"12/04/2004 22:38\" " & filePath

Since when is SetFile in /usr/local/bin? With the Developer Tools installed it's in /Developer/Tools/SetFile.

Presumably adding "/Developer/Tools" to the PATH in "/etc/profile" would remove the need to specify the path to SetFile. I haven't added that path to the system wide profile, only to my local ".profile" file, but the change to "/etc/profile" should work system wide.


- web
_______________________________________________
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


  • Follow-Ups:
    • Re: Set File Creation date
      • From: Doug McNutt <email@hidden>
References: 
 >Re: Set File Creation date (From: Gnarlodious <email@hidden>)
 >Re: Set File Creation date (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Set File Creation date
  • Next by Date: Re: Set File Creation date
  • Previous by thread: Re: Set File Creation date
  • Next by thread: Re: Set File Creation date
  • Index(es):
    • Date
    • Thread