bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help: Bash script that show you the last file created?


From: Mike Frysinger
Subject: Re: Help: Bash script that show you the last file created?
Date: Sun, 15 Feb 2009 23:44:24 -0500
User-agent: KMail/1.11.0 (Linux/2.6.28; KDE/4.2.0; x86_64; ; )

On Sunday 15 February 2009 23:39:03 Paul Jarc wrote:
> Mike Frysinger <vapier@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.

if op is worried about that, then there is no place where the exact creation 
time can be found.  the interpretation of {c,m}time is up to how the op is 
backing things up, and is for him to figure out what is best.  he's asked for 
guidance on sorting things, and ls will give him that.
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]