ls with "--group-directories-first" ?
Philip Rhoades
phil at pricom.com.au
Sat Jan 21 14:05:24 UTC 2017
People,
ls results with mixed directories and files drives me crazy . . has
anyone done the equivalent of the GNU feature:
"--group-directories-first"
?
ATM, I am working around it with an "lm" script of:
ls -alp | grep "\/$"
ls -alp | grep "[^\/]$"
but of course this strips out the colours in the listing . .
Thanks for BusyBox!
Regards,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil at pricom.com.au
More information about the busybox
mailing list