[Gllug] One liner challenge

Stig Brautaset gllug at brautaset.org
Thu Jan 30 10:15:40 UTC 2003


On Jan 30 2003, Stig wrote:
> On Jan 30 2003, robin.c.smith wrote:
> > I use
> > 
> > find . -exec ls -ld {} \;
> > 
> > to list all the files and directories as I don't like the output of ls -lR
> > 
> > However I would like to have the output changed so that it lists everything
> > but sorted by date with the most recent file last.
> > There must be a simple one liner to do this.
> 
> Which official body specifies that? ;)
> 
> try 
> 
> 	find . | xargs ls -tld

And as Rich, I too read "most recent file last". Add "r" to the ls
options to rectify.

Stig
-- 
brautaset.org

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




More information about the GLLUG mailing list