Tree2File
A command-line tool to create directory structures from tree command output.
Installation
pip install tofile
Usage
tofile
- Paste your tree structure. For example:
my_project/
├── src/
│ └── main.py
├── tests/
│ └── test_main.py
└── README.md
- Press Enter twice to finish input.
The tool will create the directory structure in your current working directory.
Features
- Creates directories and files from tree command output
- Validates input structure before creation
- Handles nested directories and files
- Simple command-line interface
- Two convenient commands: t2f or tree2file
License
MIT License