This script prints out a file tree starting from a specified path. The output includes directories, files, bytes for each, and optionally hidden files as well. Files and directories are color-coded for easy identification. You can limit the recursion depth and make it print out at a custom speed for a cool visual all using flags.
Run the python script with the following command:
python main.py --path [path]Use the --help flag for a list of options and usage information.
You can add it as an alias to your .bashrc, .zshrc, etc... for
quick usage in your CLI (the default path is the current directory).
alias tree="python3 ~/tree/main.py"