On Tue, Oct 17, 2000 at 02:36:05PM +0000, Thomas Halahan (tom@halahan.com) wrote:
> Hello,
>
> I am trying to determine an easy alias or sh script that will list
> only the directories in a directory. It should have similar
> functionality to the ls command. E.g.
>
> [tom]$ lsd ~
>
> should list only the directories in my home folder, not the files.
Try:
alias lsd1="tree -dL 1"
alias lsd2="tree -idL 1"
--
Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself
Evangelist, Opensales, Inc. http://www.opensales.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
Attachment:
pgpc8qURljvkY.pgp
Description: PGP signature