MACSCRPT Archives

June 2006

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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 30 Jun 2006 10:31:33 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On Jun 30, 2006, at 10:05 AM, John A.M. Darnell wrote:

> Hello all:
>
>    I am looking for a Perl/PHP/Applescript command that can be used to
> change the date/time stamp of a file.
>
>    For admin purposes after I finish working on a project I want to  
> change
> the date and time to midnight on a particular date for all files in  
> the
> project.  Its just a simple precaution that I can take to ensure  
> that no
> files have changed (inadvertently or otherwise) since I last opened  
> the
> code.
>
tell application "Finder" to set modification date of entire contents  
of folder (choose folder) to date "Friday, January 1, 1904 12:00:00 PM"

or in Terminal

touch -t 190401011200 *

> Trivia question:  In J. Michael Straczynski's masterful series,  
> "Babylon
> 5" what was the name of the revered Minbari from the previous  
> Shadow war,
> who was considered "Minbari not of Minbari" and who saved the  
> Minbari race
> from annihilation at the hands of the Shadows?  What was his birth  
> name?
>
I remember the birth name :)

ATOM RSS1 RSS2