file2tree

file2tree


Keywords
python, tree, python-file2tree
License
MIT
Install
pip install file2tree==0.0.1

Documentation

file2tree

file2tree

file2tree.py

file2tree generate a .txt file like this:

β”œβ”€β”€ conf
└── test
    └── app
        β”œβ”€β”€ conf
        β”œβ”€β”€ html
        β”‚Β Β  β”œβ”€β”€ a.js
        β”‚Β Β  β”œβ”€β”€ bigscreen.js
        β”‚Β Β  └── index.html
        β”œβ”€β”€ module
        β”‚Β Β  β”œβ”€β”€ a.html
        β”‚Β Β  └── media.html
        └── styl

usage

in CMD:

  • use like "python file2tree.py -r d:/tree"
  • or use like "python file2tree.py --rootdir d:/tree"

also see this