SYNOPSIS

  ddir [options] DIR

DESCRIPTION

Display an indented directory tree using \s-1ASCII\s0 graphical characters to represent the hierarchical structure. The directories to include or exclude can be specified with command line options. Ddir is a Perl implementation of the tree\|(1) program.

OPTIONS

-d, --dir

Display only directories.

-h, --help

Print text help

--help-exclude

Print default exclude path value when --exclude-vcs is used.

--help-html

Print help in \s-1HTML\s0 format.

--help-man

Print help in manual page man(1) format.

-i, --include \s-1REGEXP\s0

Include files mathing regexp. The match is done against whole path. The option can be used multiple times. If this option is not supplied, every file is automatically included. The matches can be further filtered by using options --exclude.

-v, --verbose \s-1LEVEL\s0

Print informational messages. Increase numeric \s-1LEVEL\s0 for more verbosity.

-V, --version

Print contact and version information.

-x, --exclude \s-1REGEXP\s0

Ignore files mathing regexp. The match is done against whole path. The option can be used multiple times. This option is applied after possible --include matches.

-C, --exclude-vcs

Exclude version control directories. See --help-exclude.

EXAMPLES

Show directory tree by excluding version control directories. Display only directories:

ddir --x-vcs --dir .

. +--doc/ | +--manual/ +--bin/

TROUBLESHOOTING

None.

EXAMPLES

None.

ENVIRONMENT

None.

FILES

None.

RELATED TO ddir…

tree\|(1)

COREQUISITES

Uses standard Perl modules.

AVAILABILITY

Homepage is at http://freshmeat.net/projects/ddir

AUTHORS

Copyright (C) 1995-2010 Jari Aalto. Copyright (C) 1994 Brian Blackmore.

LICENSE

This program is free software; you can redistribute and/or modify program under the terms of \s-1GNU\s0 General Public license either version 2 of the License, or (at your option) any later version.