[clug] list only directories

steve jenkin sjenkin at canb.auug.org.au
Tue Nov 19 23:55:53 MST 2013


Hal Ashburner wrote on 20/11/13 5:38 PM:

> find . -maxdepth 1 -type d -ls

It's a reasonable approach, is robust and saves 2 processes (tr & ls),
BUT, the format of find's 'built-in' ls isn't the same as /bin/ls.

-- 



More information about the linux mailing list