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:19:28 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

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
> -mike

Without looking there: It can't be documented, because there's no
general way to retrieve the creation time of a file.

J.




reply via email to

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