[net.sources] tree.1

borman (01/20/83)

.TH TREE 1 "St. Olaf"
.SH NAME
tree \- print tree structure
.SH SYNOPSIS
.B tree
[
.B \-adfnpsvx
]
[
.B \-c linelength
] [ directory ]
.SH DESCRIPTION
.I Tree
is a program to print out the tree structure of a directory
and its children.  Unless the last argument is a directory name,
tree takes the current working directory to be the top of the tree
structure.  It prints out just the directory structure by default.

Its options are as follows:
.TP
-a
Include files in printout (excluding '.' entries)
.TP
-c
Take the next argument to be the length of each
column of the printout. (By default, this is 14, the
maximum filename length.  Any lengths greater than
14 are ignored.)
.TP
-d
List directories first.
.TP
-f
List files first.
.TP
-l
Long listing. Useful information is printed to the right of
each entry. Owner, size and mode are printed.
.TP
-n
No sort. Names are listed in the order they are read
from the directory.
.TP
-p
Include '.' entries.
.TP
-s
Simplify the long listing. Prints uid, size and octal mode of the
file.
.TP
-x
Do not cross file systems.  Tree will not cross over to a
subdirectory if it is on a different file system.
.SH AUTHOR
Dave Borman, St. Olaf College. {ihnp4|harpo|minn-ua}!stolaf!borman