• 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: Need way to set the Creation date of a file via OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need way to set the Creation date of a file via OSX


  • Subject: Re: Need way to set the Creation date of a file via OSX
  • From: Tim Bates <email@hidden>
  • Date: Tue, 17 May 2005 14:20:04 +1000

touch will do it for you

set fileName to "~/testFile"
do shell script "touch " & fileName

learn more with man touch


Quoting Bob <email@hidden>:
> I had been using an OS9 AppleScript  to set the Creation date to the
> Modification date of JPG files. Haven't found a way to do the same on
> OS X. Can it be done?
This Message is intended for the addressee named and may contain
confidential information.  If you are not the intended recipient, please
delete it and notify the sender.  Views expressed in this message are those
of the individual sender and are not necessarily the views
of The Macquarie Centre for Cognitive Science.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Need way to set the Creation date of a file via OSX
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Need way to set the Creation date of a file via OSX (From: Bob <email@hidden>)

  • Prev by Date: Re: Need way to set the Creation date of a file via OSX
  • Next by Date: Re: Need way to set the Creation date of a file via OSX
  • Previous by thread: Re: Need way to set the Creation date of a file via OSX
  • Next by thread: Re: Need way to set the Creation date of a file via OSX
  • Index(es):
    • Date
    • Thread