Re: Need way to set the Creation date of a file via OSX
Re: Need way to set the Creation date of a file via OSX
- Subject: Re: Need way to set the Creation date of a file via OSX
- From: "John C. Welch" <email@hidden>
- Date: Tue, 17 May 2005 21:14:52 -0500
- Thread-topic: Need way to set the Creation date of a file via OSX
On 5/17/05 20:53, "Mark J. Reed" <email@hidden> wrote:
> In the filesystem's metadata you have these:
> 3. "Creation" time/ctime (can actually change over the life of the file)
> 4. Modifcation time/mtime (last time the file was changed, initially same as
> ctime)
> 5. Access time/atime (the last time the file was read by any program or
> process)
>
> The UNIX command touch(1) can be used to change these.
Touch is unreliable for creation date/time, since it was written around
UFS/UFS - style filesystems which don't have separate creation date/time
metadata in the file system. ls - l shows this even for HFS systems.
Barring a rewrite of touch to deal with HFS+ metadata, SetFile is the most
reliable way to deal with this for a scripter.
--
"The Exertion of Better Men"
- Motto for Special Boat Unit 22, Det 122- Sacramento , Ca.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden