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: "Mark J. Reed" <email@hidden>
- Date: Sat, 21 May 2005 21:07:33 -0400
Gah, multiple drafts got combined. Trying again.
On 5/21/05, Mark J. Reed <email@hidden> wrote:
chmod/chown don't let you set the creation time directly, but when you
use them to change the mode or owner (or use chgrp to change the group,
or ln to create another hard link to the file, or do anything else that
affects the file's metadata, that updates the ctime to the time of the
change.
But I had the relationship backwards as far
as which one of ctime/mtime changes more often. ctime is not "creation time", it's "change time".
The ctime will change when the mtime doesn't - when the file mode is
changed with chmod, or the owner with chown, or the group with chgrp,
or the number of links with chgrp, etc. Those actions don't
change the modification time, because the file contents don't change,
but they do change the ctime.
On 5/21/05, cris <email@hidden
> wrote:
On May 18, 2005, at 1:07 PM, Mark J. Reed wrote:
> touch doesn't change the ctime either, unless you're using a
> version that supports that as a special option and supply said
> option. chmod and chown, however, do. ctime is basically the
> mtime for the inode.
Can you give an example how changing the creation date should work
with chmod/chown?
Greetings
cris
--
Mark J. Reed <
email@hidden>
_______________________________________________
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