On Mon, Mar 21, 2011 at 2:43 AM, Christian Heimes wrote:
> I'm sorry if I offended you in any way. I had to clarify the meaning of
> st_ctime many times in the past because people confused it for the
> creation ts of the file.
>
Apologies if I got too defensive. I agree that it was worth pointin
Am 21.03.2011 03:32, schrieb Dan Stromberg:
> Well, it is, and it's not. It was originally called "creation time", but
> many today find "change time" a better description of what it actually does,
> sort of retroactively changing what the "c" means. This is because the
> ctime reflects the chang
On Sun, Mar 20, 2011 at 7:12 PM, Christian Heimes wrote:
> Am 21.03.2011 01:40, schrieb Dan Stromberg:
> > 1) If you want to set the ctime to the current time, you can os.rename()
> the
> > file to some temporary name, and then quickly os.rename() it back.
> >
> > 2) You can sort of set a file to
Am 21.03.2011 01:40, schrieb Dan Stromberg:
> 1) If you want to set the ctime to the current time, you can os.rename() the
> file to some temporary name, and then quickly os.rename() it back.
>
> 2) You can sort of set a file to have an arbitrary ctime, by setting the
> system's clock to what you
Am 21.03.2011 00:52, schrieb monkeys paw:
> I used os.uname to succesfully change the access and mod times of
> a file. My question is, is there any other date store for a file that
> indicates the creation time, or is it impossible to detect that a file
> with an older mod/access time is actually
1) If you want to set the ctime to the current time, you can os.rename() the
file to some temporary name, and then quickly os.rename() it back.
2) You can sort of set a file to have an arbitrary ctime, by setting the
system's clock to what you need, and then doing the rename thing above -
then res