• 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: Change a File's Creation Date (OS 9.1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a File's Creation Date (OS 9.1)


  • Subject: Re: Change a File's Creation Date (OS 9.1)
  • From: q~ <email@hidden>
  • Date: Mon, 27 Aug 2001 22:20:33 -0400

Since I set off such a nasty controversy with this request I thought some of you might want to see the result of your help.

--this script requires the Akua Sweets v143 OSAX to function properly
on open (thefiles)
repeat with x from 1 to count of thefiles
try
set filetochange to item x of thefiles
basic info for file filetochange
set fileinfo to result
set creation date of fileinfo to current date
set modification date of fileinfo to current date
apply catalog info fileinfo to file filetochange
on error
--do nothing, just keep going
end try
end repeat
end open

Just for fun I ran Norton Disk Doctor after running this script on a few files (it also worked on a folder...). It didn't complain about the affected files, this might have been different if I hadn't updated the modification date as well.

As far as the moral debate goes, I tend to side with the who cares crowd. Anyone who relies on the creation and modification dates in the Finder (or in any other OS) should reassess their faith in modern file systems. -- q~


  • Follow-Ups:
    • Re: Change a File's Creation Date (OS 9.1)
      • From: John W Baxter <email@hidden>
References: 
 >Re: Change a File's Creation Date (OS 9.1) (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Getting an icon of an item
  • Next by Date: Re: Mount Volume
  • Previous by thread: Re: Change a File's Creation Date (OS 9.1)
  • Next by thread: Re: Change a File's Creation Date (OS 9.1)
  • Index(es):
    • Date
    • Thread