Skip to main content

Create directory structures from tree command output

Project description

Tree2File

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

Installation

pip install tofile

Usage

  1. Run the command:
tofile
  1. Paste your tree structure. For example:
my_project/
├── src/
│   └── main.py
├── tests/
│   └── test_main.py
└── README.md
  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tofile-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tofile-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file tofile-0.1.0.tar.gz.

File metadata

  • Download URL: tofile-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for tofile-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dc7238e7a0b711b96d217b8f2624159f90c79b385aefd5a576933a9aa74c01e9
MD5 ad2c87c9c242cf2db99a7cf621b42e1b
BLAKE2b-256 e181a8f0c239a89f8ba576aa936cd88fb111f79daf5335d60fd1b6ecd3617d6d

See more details on using hashes here.

File details

Details for the file tofile-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tofile-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for tofile-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2489a21955127be41d2c2fe6a76585c95cef4a16c7bd0403e1f6831c9aae1b7a
MD5 46dc0f797b08dd0fc4f8ca542c8129d5
BLAKE2b-256 8d6228f62cf69670dd761e9b611cb0e927ee9a6fd3c921faf1082e8a84ecd004

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page