[Discuss] directory diagrams

Rick Morris rmorris at infinity.bc.ca
Tue Aug 28 09:24:36 PDT 2007


tree will do this, you might have to install it.

tree /usr/local/var
/usr/local/var
`-- amanda
    |-- amandates
    |-- exclude.gtar
    `-- gnutar-lists [error opening dir]

2 directories, 2 files


On Tuesday 28 August 2007 08:53:37 pw wrote:
> hello,
>
> Is there a way to use 'find' or 'ls' to generate
> a directory diagram?
>
> I was thinking of the same type of diagram as
> 'ps axjf' produces for processes on the system.
>
> ie:
>
> /usr/bin/process_one
>   \_sh /etc/init.d/somescript.sh
>
>   | \_/usr/bin/blah
>
>    \_sh /etc/init.d/anotherscript.sh
>
>
>
> except for directory listings.
>
> Peter
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss




More information about the Discuss mailing list