huang-x-h / lstree

list directory contents in a tree structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lstree

list directory contents in a tree structure

testDirectory
├──level1
│  ├──level11
│  │  ├──a.js
│  │  └──e.js
│  └──level12
│     ├──b.js
│     └──f.js
└──level2
   ├──c.js
   └──d.js

Install

  • npm install -g lstree
  • lstree -h

Usage

  • ls
  • ls -o <outfile-path>
  • ls -d <directory-path> -o <outfile-path>

TODO

when directory is too big, the process will down

About

list directory contents in a tree structure

License:MIT License


Languages

Language:JavaScript 100.0%