• 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
Changing File Creation/Modification Dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing File Creation/Modification Dates


  • Subject: Changing File Creation/Modification Dates
  • From: Nick Matsakis <email@hidden>
  • Date: Mon, 12 Feb 2001 17:25:24 -0500 (EST)

I'm working on a script which takes a bunch of my old WordPerfect files
and converts them to PDF. One of the hitches is that I would like for the
PDF files to have the same creation/modification times as the original
files. This leads to two questions:

1) How can I set a particular files creation/modification date to be
identical to that of another file?

2) How can I set that information to arbitrary values?

Incidentally, is there anything at the HFS level that prevents the
creation date from being later than the modification date? What about at
the Finder/OS level?

Nick Matsakis


  • Prev by Date: Garbage collection and objects
  • Next by Date: {OT} DNS & Mount Volume
  • Previous by thread: Re: Garbage collection and objects
  • Next by thread: Re: Changing File Creation/Modification Dates
  • Index(es):
    • Date
    • Thread