[PLUG] Recursively list directories

Jason Dagit dagit at engr.orst.edu
Wed Jul 3 19:46:31 UTC 2002


Try the find command.  I just checked the man page I think this will do
the trick

find / -type d

That should start at the root and list all the directories it finds as you
have specified.

good luck,
Jason

On Wed, 3 Jul 2002, Michael Montagne wrote:

> I need to develop a list of directories, full path, 1 per line, of all
> the directories under a specific (current directory ok) root.
> Kinda stuck.
>
> --
>   Michael Montagne  [montagne at boora.com]   503.226.1575
> --
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>





More information about the PLUG mailing list