mr-thc </dev/***@localhost.localdomain> wrote:
: J.A. Gutierrez wrote:
:> G*# <***@eresmas.com> wrote:
:> : Cómo puedo ver la fecha de creación de un fichero en linux?
:>
:> no es posible.
: Ejem.... si es posible
si? como?
:> Linux/Unix almacena tres fechas
:>
:> - ultima modificacion
:> - ultimo acceso
:> - ultimo cambio de estado
: ¿Que es un cambio de estado?
man 2 stat
timestruc_t st_atim; /* Time of last access */
timestruc_t st_mtim; /* Time of last data modification */
timestruc_t st_ctim; /* Time of last file status change */
[...]
st_atim Time when file data was last accessed. Changed by the
following system calls: creat, mknod, pipe, utime, and read.
The seconds portion of st_atim is available as st_atime.
st_mtim Time when data was last modified. Changed by the following
system calls: creat, mknod, pipe, utime, and write. The
seconds portion of st_mtim is available as st_mtime.
st_ctim Time when file status was last changed. Changed by the
following system calls: chmod, chown, creat, link, mknod,
pipe, unlink, utime, and write. The seconds portion of st_ctim
is available as st_ctime.
Como se puede ver, en ninguna parte de la pagina de manual
se habla de "fechas de creacion".
SEE ALSO:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&output=search&selm=79i371%24tl%241%40celes.unizar.es
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&output=search&selm=7sqaes%24n2v%242%40posta2.unizar.es
http://www.nd.edu/~lemmon/courses/UNIX/l3/node2.html
--
finger ***@shiva.cps.unizar.es for PGP /
.mailcap tip of the day: / La vida es una carcel
application/ms-tnef; cat '%s' > /dev/null / con las puertas abiertas
text/x-vcard; cat '%s' > /dev/null / (A. Calamaro)