• 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: Set File Creation date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set File Creation date


  • Subject: Re: Set File Creation date
  • From: Gmeiner <email@hidden>
  • Date: Sat, 18 Dec 2004 16:10:47 +0100

Well, there might be a necessity you want to change the creation date:

I am desperately trying to recover all sorts of old files created with Appleworks under PRODOS on Apple IIe til Apple gs, which I saved on 3.5 diskettes. Unfortunately, those diskettes (0.8 MB) can't be read with my G4 or ibook under OS 9 or OSX. Fortunately I still have working a Performa 6320 where the files can be recovered and transferred to 1.4 MB diskettes.
However, MacLinkPlus 12 does not recognize these old files. Only on the Performa, ClarisWorks 3.0 recognizes the DB files and converts them with the help of MacLinkPlus 9 to ClarisWork Files. Textfiles aren't recognized at all and spread sheet files are converted to excel files.
These converted files then I am able to transfer to my G4 and transform them using AppleWorks 6. The point is, the creation date and the modification date of the original files get lost during the transformation procedures, and I would like to change it back on the ClarisWorks or Appleworks transscripts using AppleScript.


Has anyone an idea, how I could shorten this very tedious overall procedure of recovering my old data collected in about 15 years??
Is there a translator or filter for PRODOS-files (DATAVIZ got very restrictive in providing technical support nowadays!) available ?


Any help and advice would be appreciated!

Jobst Gmeiner

Am 18. Dez 2004 um 08:25 schrieb Paul Berkowitz:

On 12/17/04 10:54 PM, "Gnarlodious" <email@hidden> wrote:

Is there any way to set a file's creation date?

This runs:
tell application "Finder" to set the creation date of (info for someFile) to
date "Thursday, December 2, 2004 11:28:16 PM"


but doesn't do anything.

First of all, someFile already has a 'creation date' property in the Finder
- no need for an info for - but it's denoted as [r/o]. So you wouldn't be
able set it in the Finder.


The result of (info for) is a record 'file information' of which every
single property is r/o - even properties whose equivalents as file
properties can be set in the Finder, let alone ones that can't. It's just a
way of getting info for the file. You can't set _any_ property of (info for
someFile), Finder tell block or not. That was never going to work.


'creation date' tells you when a file was created. It can't be modified.
Make a duplicate and delete the original.


You can use 'read' to read the file, write the result to a new file opened
for access, get the original's file type and creator type if any, rm the
original, rename the new file to the original's file name and give it file
and creator types in the Finder. Its creation date will be whenever you
created the new file.


-- Paul Berkowitz


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Set File Creation date (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Set File Creation date
  • Next by Date: Re: Set File Creation date
  • Previous by thread: Re: Set File Creation date
  • Next by thread: Re: Set File Creation date
  • Index(es):
    • Date
    • Thread