Skip to content

Greg4268/tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

tree by Greg

my take on the 'tree' command line tool for MacOS

Installation Guide

  1. Clone Repository

git clone https://github.com/Greg4268/tree.git

  1. Set alias in bashrc / zshrc

alias tree="python3 /path/to/script.py"

  1. (Optional) make alias including arguments

alias rtree="python3 /path/to/script.py --root"

  1. Reload terminal with new config

  2. run your script!

Command Line Arguments

Exclude Dotfiles

Description: When included, will exclude dotfiles from tree

--exclude-dotfiles 

Max Depth

Description: When added with integer following, will set a max depth of subtrees

--max-depth {integer}

Root

Description: true = run tree from Users/{username}/ | false = run tree from current working directory

--root 

About

tree script for macOS with custom arguments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages