![](https://seccdn.libravatar.org/avatar/184f2936f5d39b27534f4dd7c4d15bfb.jpg?s=120&d=mm&r=g)
5 Jan
2011
5 Jan
'11
09:08
Thomas Taylor wrote:
Hi all;
I used to have a script for displaying only directories in tree format but can't seem to find it. I've tried various cli commands using ls but no luck, all the files are displayed and not in tree fashion.
the command, "ls -lARhd" comes closest. My interpretation of man ls tells me the -d should limit the display to only directories but it doesn't do that.
"ls -d <directory>" will display the directory information, without -d it will list the contents of the directory. -- Per Jessen, Zürich (-1.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org