-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Mike Frysinger on 2/15/2009 9:44 PM:
ctime is the time when the inode was last modified, not (necessarily)
the time when the file was created.
if op is worried about that, then there is no place where the exact creation
time can be
Coz its could be find in alot of subdirs
like
/home/server/backups/local_backups/1-1-2009/server/mysql/1-1-2009.sql
/home/server/backups/local_backups/1-2-2009/server/mysql/1-2-2009.sql
/home/server/backups/local_backups/1-3-2009/server/mysql/1-3-2009.sql
so any idea?
Bugzilla from
tal396 tal...@gmail.com wrote:
Coz its could be find in alot of subdirs
like
/home/server/backups/local_backups/1-1-2009/server/mysql/1-1-2009.sql
/home/server/backups/local_backups/1-2-2009/server/mysql/1-2-2009.sql
/home/server/backups/local_backups/1-3-2009/server/mysql/1-3-2009.sql
This
On Sunday 15 February 2009 23:19:28 Jan Schampera wrote:
Mike Frysinger wrote:
there is any way to get the last file that created that is fomat is
*.sql
why not just use `ls` and one of its sort options ? the ls man page
documents how to sort by creation time
Without looking there:
Mike Frysinger vap...@gentoo.org wrote:
the op wasnt asking for the time, they were asking for the last created file.
and the ls man page talks how to sort by ctime.
ctime is the time when the inode was last modified, not (necessarily)
the time when the file was created.
paul
Mike Frysinger wrote:
Without looking there: It can't be documented, because there's no
general way to retrieve the creation time of a file.
the op wasnt asking for the time, they were asking for the last created file.
and the ls man page talks how to sort by ctime.
Yes, that's the
On Sunday 15 February 2009 23:39:03 Paul Jarc wrote:
Mike Frysinger vap...@gentoo.org wrote:
the op wasnt asking for the time, they were asking for the last created
file. and the ls man page talks how to sort by ctime.
ctime is the time when the inode was last modified, not (necessarily)