TREE(1)

NAME
- display an ascii tree of a directory's contents

SYNOPSIS
tree [-adfFilrstx] [-L depth] path ...

DESCRIPTION
The tree utility displays a small ASCII(7) formatted tree of directories. It can be really useful to get a quick glance of a directory structure.

The options are as follows:

-a  Include directory entries whose names begin with a dot (`.').

-d  Only show directories.

-f  Show full path for each entry.

-F  Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable, an at sign (`@') after each symbolic link, an equal sign (`=') after each socket, and a vertical bar (`|') after each that is a FIFO.

-i  Do not print nice tree indentation, if you want this, you should be using find(1) instead.

-l  Symbolic links are followed.

-L depth
    Directory recursion stops at depth `depth'.

-r  Reverse sort order, whether it is alphabetical or by time modified.

-s  Do not print directory count and file count.

-t  Sort by time modified (most recently modified first).

-x  Prevents tree from descending into directories that have a device number different than that of the file from which the descent began.

SEE ALSO
find(1), ls(1)