Skip to main content

Text mode directory tree viewer

Project description

Text mode directory tree viewer.

The name is made of tree as in directory tree and less the text viewer which is used by Treeless to display its output.


Treeless packages are available from Cheese shop (PyPI) at

The project page is hosted on Github.

If you’ve never worked with git or contributed to a project on Github, there is a quick start guide.

If you find something wrong or know of a missing feature, please create an issue on the project page. If you find that inconvenient or have some security concerns, you could also drop me a line at <>.


pip install treeless


usage: treeless [-h] [--filematch REGEXP] [--dirmatch REGEXP]
                [--fileignore REGEXP] [--dirignore REGEXP] [--indent N]
                [--plain] [--cut] [--version]

Treeless - Text mode directory tree viewer

optional arguments:
  -h, --help            show this help message and exit
  --filematch REGEXP, -f REGEXP
                        Files regexp
  --dirmatch REGEXP, -d REGEXP
                        Directories regexp
  --fileignore REGEXP, -F REGEXP
                        Regexp for ignored files
  --dirignore REGEXP, -D REGEXP
                        Regexp for ignored directories
  --indent N, -i N      Indent length (1-8, default=1)
  --plain, -p           Plain output on stdout, no less
  --cut, -c             Cut off long lines to fit terminal width
  --version, -v         Show version and exit


Copyright 2013 Michal Belica <>

Treeless 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.

Treeless is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Treeless.  If not, see < >.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treeless-0.1.0.tar.gz (16.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page