logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ddir - display hierarchical directory tree

Author

       Jari Aalto

Availability

Bugs And Limitations

       None.

Dependencies

       Uses standard Perl modules.

Description

       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.

Environment

       None.

Examples

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

           ddir --dir .

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

Exit Status

       Not defined.

Files

       None.

Name

       ddir - display hierarchical directory tree

Options

-d,--dir
           Display only directories.

       -i,--includeREGEXP
           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.

       -n,--no-exclude-vcs
           Do not exclude version controlled dirs.

       -v,--verboseLEVEL
           Print informational messages. Increase numeric LEVEL for more verbosity.

       -x,--excludeREGEXP
           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.

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

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

       -h,--help
           Print text help

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

       --help-html
           Print help in HTML format.

       --help-man
           Print help in manual page man(1) format.

       -V,--version
           Print contact and version information.

See Also

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

Synopsis

         ddir [options] [DIR]

Troubleshooting

       None.

See Also