DTREE(l) COMMAND REFERENCE DTREE(l)
NAME
dtree - print directory tree structures
SYNOPSIS
dtree [ -adfglnpsvx ] [ -b filenamesize ] [ -c linelength ]
[ directory1 ...]
DESCRIPTION
Dtree is a program to print out the tree structure of
directories and their children. If no directories are
specified, dtree takes the current working directory to be
the top of the tree structure. It prints out just the
directory structure by default. If no flags are specified,
dtree prints out just the directory structures. Recognized
options are as follows:
-a Include files in printout (excluding entries beginning
with '.')
-b Take the next argument to be the maximum length of a
directory name; default is 14 characters, or the value
associated with a -c argument, if any. any directories
with names longer than this length will not be
searched, thus any files and directories within them
will not be included in the output.
-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 the column
width are truncated accordingly, and the last character
which fits into the column is replaced by an asterisk.)
-d List directories first. For each directory, its
subdirectories will be listed first, and then all its
other entries.
-f List files first. Reverse of -d.
-l Long listing. Useful information is printed to the
right of each entry. The name of the owner, its size in
blocks, and its mode are printed.
-g Same as the -l flag, except that the group name is used
instead of the owner name. If both the -l and -g flags
are used, both the owner and group will be printed.
-n No sort. Names are listed in the order they are read
from the directory.
-p Include entries beginning with '.' (excluding "." and
"..").
Printed 7/4/87 1
DTREE(l) COMMAND REFERENCE DTREE(l)
-s Simplify the long listing. Prints uid, size in blocks,
and octal mode of the file. This flag implies the -l
flag unless the -g flag is specified.
-v Disable variable length columns. Normally columns are
of variable length. Rather than using the same width
for each column of output, each column is shortened as
much as possible without truncating any names.
-x Do not cross file systems. Dtree will not cross over
to a subdirectory if it is on a different file system.
AUTHOR
Dave Borman, Digital Unix Engineering Group
decvax!borman
Originally written at St. Olaf College, Northfield, MN.
Printed 7/4/87 2
%%index%%
na:72,75;
sy:147,398;
de:545,2016;2705,767;
%%index%%000000000077