Solved - AppleScript changing file creation date
Solved - AppleScript changing file creation date
- Subject: Solved - AppleScript changing file creation date
- From: Andrew Nielsen <email@hidden>
- Date: Thu, 24 Jan 2002 08:38:31 +0800
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"
I note that the date and time are interpreted as UTC (or Greenwich
Mean Time) so you just need to compensate for that.
--
Andrew Nielsen <
mailto:email@hidden>
Starfish Technologies Pty Ltd <
http://www.starfish.net.au/>
ACN 076 426 714 / ABN 49 426 849 601 Tel: 0500 555 677
Consultants in Unix, Mac OS, Windows & networking technologies