[Gllug] One liner challenge

robin.c.smith at bt.com robin.c.smith at bt.com
Thu Jan 30 10:46:40 UTC 2003


Close but not what I need :-)

I'm looking for something that traverses the directories as well so would
display all the files and directories under a point and prints them out in
date order.

Robin

-----Original Message-----
From: Paul Nasrat [mailto:pauln at truemesh.com]
Sent: Thursday, January 30, 2003 10:14
To: gllug at linux.co.uk
Subject: Re: [Gllug] One liner challenge


On Thu, Jan 30, 2003 at 09:59:32AM +0000, rich at annexia.org wrote:
> On Thu, Jan 30, 2003 at 09:31:18AM -0000, robin.c.smith at bt.com wrote:
> > but sorted by date with the most recent file last.
> 
> Sorry, I read that as most recent file _first_. To get most recent
> file _last_ change the final '-nr' to just '-n'.

Yup and if you want last modified last:

-ltcr

(one per line, by time, ctime, reverse)

Paul

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list