🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

tofile

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tofile

Create directory structures from tree command output

0.1.0
Maintainers
1

Tree2File

A command-line tool to create directory structures from tree command output.

Installation

pip install tofile

Usage

  • Run the command:
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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts