DTREE
Section: Misc. Reference Manual Pages (1L)
Index
Return to Main Contents
NAME
dtree - display directory tree structures
SYNOPSIS
dtree
[
-adfgHlnpsvx
] [
-c linelength
] [
directory...
]
DESCRIPTION
dtree
displays a graphic representation of the directory structure of each given
directory
and its children. If no directories are specified, the current
directory is used.
By default, only
directories, not regular files, are shown, and only their
filenames are given. Various options add additional
information to the tree.
OPTIONS
- -a
-
Include files in the listing (excluding entries beginning with '.').
- -c linelength
-
Make
linelength
the length of each
column of the printout. By default, this is 14.
Any entries longer than
the column length are truncated accordingly, and the last character that
fits into the column is replaced by an asterisk.
This option only has an effect if the
-v
option is specified.
- -d
-
List directories first. For each directory, its subdirectories
will be listed first, and then all of its other entries.
- -f
-
List files first. The reverse of
-d.
- -l
-
Long listing. Display useful information to the right of
each entry: the name of the file's owner, its size in blocks, and its mode.
- -g
-
Same as the
-l
option, except that the group name is used instead of
the owner name. If both the
-l
and
-g
options are used, both the
owner and group will be displayed.
- -H
-
Display a header at the top of the printout that gives the time and
date that the printout was made and a summary of the type of
information contained in the tree.
- -n
-
No sort. Entries are listed in the order they are read
from the directories.
- -p
-
Include entries beginning with '.' (except '.' and '..').
- -s
-
Simplify the long listing: display the user id, size in blocks, and
octal mode of the file. This option implies the
-l
option unless the
-g
option is specified.
- -v
-
Do not let column lengths vary; use the same
width for each column of output. The width defaults to 14
but can be set with the
-c
option.
- -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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 10:16:01 GMT, December 12, 2024