spartacus
1st April 2003, 15:10
I'm trying to read the creation date of a file on Unix. There I thought, I could use somthing like: "ls -lc". But strange, if I do that, almost all files have the actual date (exept of links). ??

Spartacus

James
1st April 2003, 16:40
Hi,

I don't think its possible to find out the creation time of a Unix file.

-c shows the last modification time of the inode

Sorry!

James

spartacus
1st April 2003, 17:12
Hi James,

I feared to get this answer.

Spartacus

patvdv
1st April 2003, 18:08
Nope, not possible as UNIX doesn't store the creation timestamp of a file. It only knows the concepts of 'access', 'change' and 'modification'.