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

swr3gjt
  • 31
  • What about touch? – Solar Mike Aug 28 '21 at 06:48
  • For 10.3 I think the tools came on the OSX CDs – mmmmmm Aug 28 '21 at 08:05
  • @SolarMike I think touch only does modification and access times as defined by POSIX. Creation time is HFS only – mmmmmm Aug 28 '21 at 08:07
  • I think OSX 10.3 needs Xcode tools 1.5 and the CD is still on the Apple Developer site see bottom of https://developer.apple.com/download/all/?q=xcode – mmmmmm Aug 28 '21 at 08:12
  • Perhaps this technique https://apple.stackexchange.com/a/40979/9388 could be modified? – Daniel Aug 28 '21 at 19:32
  • @mmmmmm Thanks it worked with Xcode 1.5. I have updated the main post and show a tutorial how it works. – swr3gjt Aug 29 '21 at 01:04
  • 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. – Gordon Davisson Aug 29 '21 at 01:58

2 Answers2

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

user3439894
  • 58,676
mmmmmm
  • 30,160
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

swr3gjt
  • 31