DOKK / manpages / debian 13 / ddir / ddir.1.en
DDIR(1) User commands DDIR(1)

ddir - display hierarchical directory tree

  ddir [options] [DIR]

Display an indented directory tree using ASCII 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. The extra "d" in front of name was used to differentiating the utility from an existing dir(1) program.

Display only directories.
Include files matching 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.

Do not exclude version controlled dirs.
Print informational messages. Increase numeric LEVEL for more verbosity.
Ignore files matching regexp. The match is done against whole path. The option can be used multiple times.

This option is applied after possible --include matches.

Enabled by default. Exclude version control directories. See --help-exclude.

Use --no-exclude-vcs to include all in listing.

Print text help
Print default exclude value when --exclude-vcs is used.
Print help in HTML format.
Print help in manual page man(1) format.
Print contact and version information.

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

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

None.

None.

None.

Not defined.

Uses standard Perl modules.

None.

dir(1) tree(1) wcd(1)

Homepage is at http://freecode.com/projects/ddir

Jari Aalto

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

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

2025-05-21 perl v5.40.1