2

According to this page https://apple.stackexchange.com/a/99599/430607 creation time can be changed with Xcode Command Line Tools.

SetFile -d

But where can I get Xcode Command Line Tools for Mac OS X 10.3?

Is there perhaps another solution? I want to set my timestamps for my files correctly.

enter image description here

7
  • What about touch?
    – Solar Mike
    Commented Aug 28, 2021 at 6:48
  • For 10.3 I think the tools came on the OSX CDs
    – mmmmmm
    Commented Aug 28, 2021 at 8:05
  • @SolarMike I think touch only does modification and access times as defined by POSIX. Creation time is HFS only
    – mmmmmm
    Commented Aug 28, 2021 at 8:07
  • I think OSX 10.3 needs Xcode tools 1.5 and the CD is still on the Apple Developer site see bottom of developer.apple.com/download/all/?q=xcode
    – mmmmmm
    Commented Aug 28, 2021 at 8:12
  • 2
    @swr3gjt You should convert that solution into an answer, and then (after the mandatory delay) mark that as the accepted solution (unless someone else gives an even better answer, in which case accept that instesad). See this FAQ. Commented Aug 29, 2021 at 1:58

2 Answers 2

1

Update

After installing Xcode 1.5, SetFile is in this directory.

/Developer/Tools/SetFile

A link should be made for the default bin directory.

sudo ln -s /Developer/Tools/SetFile /usr/bin/SetFile

enter image description here


Update 2

Now change the file creation time with SetFile.

SetFile -d "07/06/2005 02:00:00" /Users/unnunn/Documents/Untitled.rtf

enter image description here

1
  • 2
    Might be better to link it into /usr/local/bin so it won‘t get overwritten by an update.
    – nohillside
    Commented Aug 29, 2021 at 21:09
1

For early versions of Mac OS X, Xcode and its command line tools came on a CD/DVD with the operating system. So the original disks should be the main source.

Apple also provides downloads of most versions of Xcode in the developer support site. You need an Apple Developer login for that but the free version works for this.

For Mac OS X 10.3 you need Xcode Tools 1.5

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .