MACSCRPT Archives

June 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Baltutis <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 28 Jun 2013 21:50:42 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
On 6/28/13, Cal <[log in to unmask]> wrote:
>
> Okay.  How do you use SetFile?  (I don't even know where to start with that.)
>
> John Baltutis <[log in to unmask]> wrote:
>>> On Jun 23, 2013, at 10:54 AM, Cal <[log in to unmask]> wrote:
>>>> I seem to remember that there was an osax that would permit changing a
>>>> file's creation date.
>>>> If such a beast exists these days, would some tell me where to find it?
>>> users can use a "do shell script" and set the modification and creation time
>>> using " touch -r " or "touch -m" or combined touch -mt.
>> AFAICT, the t option changes the access and mod times. Nothing in touch
>>changes
>> the creatlon date. For that use SetFile

Launch the Terminal and type in man SetFile. If it pops up, then it's
installed. To change the creation date try:

SetFile -d "date" path to file

where where date is a string of theform:
"mm/dd/[yy]yy [hh:mm:[:ss] [AM | PM]]"

ATOM RSS1 RSS2