1825768 Members
2075 Online
109687 Solutions
New Discussion

Re: File creation times

 
phil cook
Frequent Advisor

File creation times

Hello

Is there any way to ascertain the creation date & time of files in a HP-UX filesystem?

Thanks
Do I have to?
5 REPLIES 5
Fedon Kadifeli
Super Advisor

Re: File creation times

The following perl script displays the i-node information you want. Note that it requires perl ver. 5...
Andreas Voss
Honored Contributor

Re: File creation times

Hi,

sorry, on HP-UX there is no status entry for file creation time.
Only these 3 stats are held in the inode:
mtime = last modification time
ctime = last files status change time
atime = last access time

Regards
Dan Hetzel
Honored Contributor

Re: File creation times

Phil,

As soon as a file is changed, its creation date is lost forever. There is no way to retrieve that information.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Sandor Horvath_2
Valued Contributor

Re: File creation times

Hi !

I'm afraid no. Only last access, last modification, or last status change. See stat structure.

Sorry,
regards, Saa
If no problem, don't fixed it.
phil cook
Frequent Advisor

Re: File creation times

Fellas

We thought this to be the case, but thanks for confirming it.

Phil
Do I have to?