• 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: Solved - AppleScript changing file creation date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved - AppleScript changing file creation date


  • Subject: Re: Solved - AppleScript changing file creation date
  • From: garbanzito <email@hidden>
  • Date: Thu, 24 Jan 2002 12:13:07 -0700

at 2002 01 24, 08:38 +0800, they whom i call Andrew Nielsen wrote:
Problem solved. It requires Apple's developer tools package to be installed.

do shell script "/Developer/Tools/SetFile -d '01/01/2001 12:00:00' myfilename"

you'll need to escape or quote the filename if it contains special
characters (including space), and include a path if it's not
in the working directory (which is / with "do shell script").

--
steve harley email@hidden


  • Follow-Ups:
    • Re: Solved - AppleScript changing file creation date
      • From: Andrew Nielsen <email@hidden>
References: 
 >Re: solutions to scripting addition terminology confilicts (i.e. the osax namespace problem) (From: Joe Kelly <email@hidden>)
 >AppleScript changing file creation date? (From: Andrew Nielsen <email@hidden>)
 >Solved - AppleScript changing file creation date (From: Andrew Nielsen <email@hidden>)

  • Prev by Date: Re: Manipulating Postscript File
  • Next by Date: Re: GraphicConverter Saving JPEG as webready
  • Previous by thread: Solved - AppleScript changing file creation date
  • Next by thread: Re: Solved - AppleScript changing file creation date
  • Index(es):
    • Date
    • Thread