• 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 date (creation and modification)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a file date (creation and modification)


  • Subject: Re: Change a file date (creation and modification)
  • From: KOENIG Yvan <email@hidden>
  • Date: Sun, 13 Feb 2011 11:53:27 +0100

Le 12 févr. 2011 à 15:18, Emile Schwarz a écrit :

>
> Hi all,
>
> I have created a script to change the dates of a file (in fact I need to change the dates on more than 1.000 files… so I started with one).
>
> At first I used a folder (fast object to create) and nothing works… Then, I've made a copy of a JPEG file (created in February 2011) inside that folder and worked on it.
>
> To my great surprise, I was able to change not only the modification date but also the creation date.
>
> Do not get me wrong: it is good to what I want to do *.
>
> But, the Finder dictionary says for (item n : An item):
>
> creation date (date, r/o) : the date on which the item was created
> modification date (date) : the date on which the item was last modified
>
>
> I nearly forgot: I run a MacBook (2008-11) with Mac OS X 10.6.6 (and a lot of troubles, but this is a different story).
>
>
> Your opinion ?


Hello Emile

Your new modification date is older than the original creation date.
So I guess that the system is fair enough to correct such an odd state.
It doesn't change the fact that we aren't allowed to set the creation date.

I must say thank you because what surprised you give us a fine tip to change a creation date which may be useful in some cases.
One of them is the case of files revived by a recover app after a crash.

Yvan KOENIG (VALLAURIS, France) dimanche 13 février 2011 11:53:17



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Change a file date (creation and modification)
      • From: Matt Deatherage <email@hidden>
References: 
 >Change a file date (creation and modification) (From: Emile Schwarz <email@hidden>)

  • Prev by Date: Change a file date (creation and modification)
  • Next by Date: Re: Change a file date (creation and modification)
  • Previous by thread: Change a file date (creation and modification)
  • Next by thread: Re: Change a file date (creation and modification)
  • Index(es):
    • Date
    • Thread