dtree
Command line program to draw trees
For installation instructions, see the file INSTALL.
Manual
See https://strahinja.srht.site/man/dtree/dtree.1.html.
https://strahinja.srht.site/man/dtree/dtree.1.html
Examples
Format a tree using double-stroke box drawing characters:
tree(1) replacement:
same, using ASCII characters:
poor man's findmnt(1) (depends on having /proc/mounts active):
On OpenBSD, replace the first command in the above pipeline with
and the parameter $2 with $3.
Prerequisites
- C compiler - defaults in config.mk (HaikuOS needs Clang/LLVM)
Install
With got:
Persistent build configuration file
The file config.mk will be sourced when building targets which also accept configuration through environment variables. For example, CPPFLAGS and PREFIX are specified in config.mk.
Initially, there will be no config.mk, you will need to copy one of the customized config.* files or write your own:
Install (Arch)
License
dtree - Command line program to draw trees
Copyright copy 2023-2026 Страхиња Радић
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Generated by slw2gmi © 2021-2024 Strahinya Radich.