Unix Programming - file creation time

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2006 > file creation time





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author file creation time
maverick

2006-10-24, 7:17 pm

I want to get the creation time , last access and last write time for a
file in unix . I tried looking at stat function but it doesnt give me
the creation time

How do i ascertain the creation time for a file ?

Chris McDonald

2006-10-24, 7:17 pm

"maverick" <ramapra@gmail.com> writes:

>I want to get the creation time , last access and last write time for a
>file in unix . I tried looking at stat function but it doesnt give me
>the creation time


>How do i ascertain the creation time for a file ?


Most Unix file systems do not store a file's creation time,
or the time of the 2nd last modification.
You'll need to employ your own 'out-of-band' solution.

--
Chris.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com