Re: Solved - AppleScript changing file creation date
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