Re: Latest File Creation Time

John Larkworthy <[email protected]> Mon, 2 Feb 2004 17:41:20 +0000 (GMT)
Newsgroups gmane.linux.redhat.release.valhalla
Message-ID <[email protected]>
 --- [email protected] wrote: > Send
Valhalla-list mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
https://www.redhat.com/mailman/listinfo/valhalla-list
> or, via email, send a message with subject or body
> 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Valhalla-list digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Latest File Creation Time (Mani)
> 
> --__--__--
> 
> Message: 1
> Date: Sat, 31 Jan 2004 09:42:16 +0530 (IST)
> From: Mani <[email protected]>
> To: [email protected]
> Subject: Re: Latest File Creation Time
> Reply-To: [email protected]
> 
> 
> I need the 'timestamp' of a file which is latest.
> I don't know how long before the file was created.
> 
> even it may be last month or last year or today.
> 
> On 30 Jan 2004, Anthony J Placilla wrote:
> 
> > On Fri, 2004-01-30 at 08:04, Mani wrote:
> > > Hi 
> > >    Is there any one line Linux command to find
> the creation time
> > > of a file in a folder which is created recently
> ?
> > 
> > are you looking for something like
> > 
> > find /tmp -mtime 1 -name "*" |xargs -l ls -l
> >

or perhaps you are looking for

#ls --time=ctime -l

to list the creation times in a directory.
info ls 
gives sort options and more help than man l

cheers

John Larkworthy

________________________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk