• 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: "Mark J. Reed" <email@hidden>
  • Date: Tue, 17 May 2005 21:53:01 -0400

To go back to the original question, let's try to clarify what Bob was asking. 

For a JPEG file on an HFS+ filesystem, there are at least five different timestamps, two of which could be considered the "creation time".

Inside the image data you have these:
1. JFIF Creation Time
2. JFIF Digitized Time

Many different image-manipulation tools will let you modify these and might be scriptable.  Alternatively, the ImageMagick suite of command-line tools can be used to do it via "do shell script".

In the filesystem's metadata you have these:
3. "Creation" time/ctime (can actually change over the life of the file)
4. Modifcation time/mtime (last time the file was changed, initially same as ctime)
5. Access time/atime (the last time the file was read by any program or process)

The UNIX command touch(1) can be used to change these.

--
Mark J. Reed <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

  • Follow-Ups:
    • Re: Need way to set the Creation date of a file via OSX
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: Need way to set the Creation date of a file via OSX (From: Paul Berkowitz <email@hidden>)
 >Re: Need way to set the Creation date of a file via OSX (From: Joe Block <email@hidden>)

  • Prev by Date: Re: Need way to set the Creation date of a file via OSX
  • Next by Date: Re: Print text to Terminal
  • 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