[PLUG] Recursively list directories

E. Rogan Creswick creswick at cs.orst.edu
Wed Jul 3 23:32:57 UTC 2002


> Or, if you need "ls -l" info on those directories:
>
>   find / -type d -exec ls -ld {} \;
>
> --Paul Heinlein <heinlein at attbi.com>
>
using xargs is a faster way of doing it, you'd notice the difference for
more than 200 or so dirs.

find / -type d | xargs ls -ld



-Rogan Creswick






More information about the PLUG mailing list