ls -dlRr
I've tried different combinations of the ls command using the above-mentioned options but none of them are giving me the output I am looking for.
Objective: To get a recursive listing of all subdirectories from a particular starting point. For example, if my starting point is directory A, and directory A contains subdirectories B, C, D, and each of the subdirectories contains a combination of directories and files called B1, C1, D1, etc., I want a recursive listing of the subdirectories contained, so the output will be something like
A
./B
./B1
./C1
etc. while excluding the list of the individual files.
I tried doing a search for 'ls' in the forum but didn't see anything within the first two pages of the results that the search pulled.
Help please!
Thanks!
- Hae
--- Edit ---
Nevermind! Found the answer at
https://www.unix.com/showthread.php?t...t=ls+recursive