Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 14:37:06 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        Stumpie <stumpie@edu.gte.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Navagating FreeBSD
Message-ID:  <19980508143706.A18991@ct.picker.com>
In-Reply-To: <354F4E18.7CCF@edu.gte.net>; from Stumpie on Tue, May 05, 1998 at 10:36:24AM -0700
References:  <354F4E18.7CCF@edu.gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii

Stumpie:
 |There is a handy little utility in DOS that is called Tree.  Is there any 
 |equivalent in FreeBSD?

Someone mentioned ytree.  This is like the Good-Ol' PCTools for DOS in many
respects.  A nice functional shell rather than just a tree printer.

If you just want the tree displayed in your xterm, try the attached
quick-n-cheesy script I've used for years.  Unpackage in your $HOME/bin,
and then run "tree" or "tree <dir>".  This is the closest to old DOS tree
that I know of.  It defaults to using vt100 (xterm)-style graphics.  If you
want ASCII-only, use "tree -a".  For PC text-mode graphics, use "tree -p".
To page the printed tree, use "more" or "less -r".

However, if you want to see space per directory (as DOS tree shows) without
the graphical shell ytree provides, use "du".  Doesn't print a nice text
graphics tree, but does give you space per directory.  If you want to see
the du tree graphically, compile and install xdu, then run: "du | xdu".
You can click around to explore the graphical tree in more detail.

Randall

--Qxx1br4bt0+wmkIi
Content-Type: application/x-tar-gz
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tree.tgz"

H4sIAMtOUzUAA+1WXW/TMBTd6/Ir7kIiLXRp7MSONUZfprVQoQVE4Ql4KGmiRExplwQNGOW3
c52PNRus5WEpqORIqWXf23OuFZ/r5GkQ7LUMQgkRnO8R4jqMuDgiqF2OCC5jXDgO4U6ZR6lg
GG+7MInPWT5NUTKNorV5mBaGa+LFThipNiUetsj28OjA+hgnVhYpcQjvQNWoCgNQzakKH04g
j4JEAYAwvggG2vOX58MiO8dD05/2p1efZDCL4jBXgovbBIuNBAv/LkMWwL1qmBnGSlml+a3U
aQjM4nTQX1HIqUZX3PjXME5moGEAzPzrIoAZmIs0TnL4DkgOZgiaFFaUqwgHqZKgyuNCZTa/
TfqnXDf6s3mCzH/7Zf8Gq1fZnob0v8vYvf5n0jacMeoIwly5Tm1h087/W8Dp8NnYg2t5Ukfj
15M36N3ihI8m0sWWqiwVpYii8Q5BI3DwAyx5/J9YYMj1IljHSwqjWrpW9sF7ez55MX6FZN4I
p4VLMFPVs/eJeoSEdXKjAFItLatRurpBGc5TlIolZUneoyc4fYoKOPZ6qL8vc2+0AG0JqtGU
B+iZUNfgjYym4lLueeidodjyX7Tsg6Jurm1qbPI/twX63+GEckZsUvifCd75fwvY6P+mkXT/
8FT3DYKmsYV8jN1oD7r/RfexRRwBZfjwO61C9/PLS92vaipTdqVtNL7EWtPYeP/LO59zIhzb
tnnhf4eS7vt/G/g/7v/a3eL4F2tjqDb2MZc/7q5Yu0OHDh3W4ifV8z5qABQAAA==

--Qxx1br4bt0+wmkIi--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980508143706.A18991>