Skip to content

KarlRW/tree-for-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tree for Windows

Overview

In the land of folders wide and deep,
A script was born, to help you peep.

View your files and folders in a tree format. Has options to filter specific file types. I find it helpful when I want to describe my project structure to openai.


Features

  • Recursively lists directories and files.
  • Options to display only directories.
  • Filter out or include files based on their extensions.

Usage

python tree.py [directory] [options]

Options:

  • -d: Display only directories.
  • -fo / --filter_out: Exclude files with specified extensions.
  • -f / --filter: Include only files with specified extensions.

Example output

test/
    simple_gui.py
    test0_output.txt

Installation

Clone the repository and add the script location to your PATH.


TODO

  • Add a depth limit
  • Add option for box drawing, e.g. └──file.py

License

Distributed under the MIT License. See LICENSE for more information.

About

View your files and folders in a tree format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages