On 30/6/06 15:05, "John A.M. Darnell" <[log in to unmask]> 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.
>
> R,
repeat with theFile in allMyFiles
do shell script "touch -t 200601010000 " & quoted form of posix path of
theFile"
end repeat
--
Barry