Skip to content

Python command-line utility to list files like 'ls' but in a tree format.

License

Notifications You must be signed in to change notification settings

bensimner/list-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

list-tree

Python command-line utility to list files like 'ls' but in a tree format.

Usage: lt [-aABFhlR --color=<when> --max-depth=<depth>] [<dir>]

Options:

<dir>                   Directory to read from [default: .]
--color=<when>          Colorize the output, can be 'never', 'auto' or 'always' [default: always]
--max-depth=<depth>     Maximum depth to branch to [default: 3]
-a --all                Do not ignore entries starting with .
-A --almost-all         Like -a except do not list implied . and ..
-B --ignore-backups     Do not list entries ending with ~
-F --classify           Append indicator to entries
-h --human-readable     With -l, print human-readable sizes
-l                      Use long-list format
-R --no-recursive       Do not recursively print directories

lt -F output

About

Python command-line utility to list files like 'ls' but in a tree format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages