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: Jan Schampera
Subject: Re: Help: Bash script that show you the last file created?
Date: Mon, 16 Feb 2009 05:44:16 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

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 issue. ctime is not creation time. There is no standard
timestamp for "file creation". This doesn't exist. Ergo: No way to sort
by creation time.

J.





reply via email to

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