[Gllug] One liner challenge

Stig Brautaset gllug at brautaset.org
Thu Jan 30 10:09:02 UTC 2003


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 see if that tickles your fancy. Whatever you do, don't hack `ls' to
take more options ;)


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