Skip to content

nayakrujul/tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree

View your directory structure more easily!

Example

This is a folder structure

Folder Structure

Using the tree command, you get this:

$ tree
|- MyFolder
  |- .DS_Store
  |- SubfolderA
    |- .DS_Store
    |- SubSubfolder1
      |- __init__.py
      |- main.py
    |- SubSubfolder2
      |- __init__.py
      |- main.py
    |- SubSubfolder3
      |- __init__.py
      |- main.py
  |- SubfolderB
    |- .DS_Store
    |- SubSubfolder1
      |- __init__.py
      |- main.py
    |- SubSubfolder2
      |- __init__.py
      |- main.py
    |- SubSubfolder3
      |- __init__.py
      |- main.py

Installation

From PyPI:

$ pip install tree-directory

Commands

There are three commands that come with this package. All of them print the structure of the directory, but with different orders:

1. tree

Ordered by last accessed.

2. tree2

Ordered by filename (alphabetical order)

3. tree3

Ordered by file extension (alphabetical order, folders first)

Just type the command and it will output the directory stucture.

About

View your directory structure more easily!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages