Home / code / tree
Name Modified Size InfoDownloads / Week
Parent folder
funcs 2020-02-08
Source 2020-02-08
Makefile 2020-02-03 6.0 kB
tags 2019-12-30 27.8 kB
CHANGES 2019-12-28 4.8 kB
LICENSE 2019-12-28 18.0 kB
make.darwin 2019-12-28 1.1 kB
make.FreeBSD 2019-12-28 1.0 kB
make.linux 2019-12-28 458 Bytes
make.linux-gnu 2019-12-28 1.1 kB
make.openbsd 2019-12-28 1.1 kB
README 2019-12-28 2.8 kB
tree.1 2019-12-28 7.2 kB
tree.c 2019-12-28 49.7 kB
Totals: 15 Items   121.1 kB 0
  This is a handy little utility to display a tree view of directories that
I wrote some time ago and just added color support to.  I've decided that
since no one else has done something simular I would go ahead and release
it, even though it's barely a 1st year CS student hack.  I've found it damn
handy to peruse a directory tree though, especially when someone is trying to
hide something from you.

  The main distribution site for tree is here:

  ftp://mama.indstate.edu/linux/tree/

  If you don't like the way it looks let me know how you think it should be
formatted. Feel free to suggest modifications and additions.

  Thanks go out so the following people who have helped bring tree to the
pinnacle of perfection that it is: ;)

Francesc Rocher
  - Added HTML output (-H).
  - Added options -o, -L and -R.

Gerald Scheidl
  - Added -S option to print ASCII graphics lines for use under linux
    console when an alternate console font has been selected (might also
    work under DOS telnet).

Guido Socher (and others)
  - Made tree more portable.  Should compile under solaris.

Mitja Lacen
  - Discovered bug where tree will segmentation fault on long pathnames.
  - Discovered in -L argument processing.

Nathaniel Delage
  - Discovered problem with recursive symlink detection

A. Karthik
  - Suggested option to remove file and directory report at end of tree
    listing.

Roger Luethi
  - Spotted memory over-allocation bug in read_dir().
  - Submitted several patches to fix various memory leaks.

Daniel Lee
  - Reported that Tru64 defines TRUE/FALSE in sys/types.h (OSF1 standard?)

Paolo Violini
  - Found bug in tree that caused it to seg-fault if 50 file arguments where
    given and directory coloring was turned on.

Mitsuaki Masuhara
  - Discovered tree crashed on missing arguments.
  - Discovered that tree did not properly encode characters in filenames
    when used as URLs when using the -H option.

Johan Fredrik
  - Pointed out that tree did not list large files.

Ted Tiberio
  - Submitted patch which fixed a compiler issue and cleaned up HTML and CSS
    code, applied CSS to all output, and fixed up HTML to 4.01 strict
    standards.

David MacMahon
  - Added '|' support to the pattern matching routines.

Dan Jacobson
  - Pointed out that -t did not sort properly for files with the same
    timestamp.
  - Suggested option to change HTML title and H1 string.
  - Suggested -r option for reversed alphanumeric sort ala 'ls -r'.

Kyosuke Tokoro
  - Provided patch to support OS/2, fix HTML encoding, provide charset
    support. Added to authors list.

Florian Ernst
  - Debian maintainer who pointed out problems and applied fire to feet to fix
    stuff.

And many others whom I've failed to keep track of.  I should have started
this list years ago.

						- Steve Baker
						  ice@mama.indstate.edu
Source: README, updated 2019-12-28