Skip to main content

A tool to copy directory trees

Project description

CopyTree

CopyTree is a command-line tool for creating ASCII file trees and replicating file trees using .ct files. It allows you to easily visualize and duplicate directory structures.

Features

  • Generate ASCII representations of directory trees
  • Replicate directory structures using .ct files
  • Export directory structures to .ct files
  • Enable pirate-speak mode for fun logging messages
  • uhh copytree = cool

Installation

To install CopyTree, you can use pip:

Install via pip

pip install copytree-cli

Usage

To use CopyTree, run the following command:

copytree [options]

or

ct [options]

Options

  • -v, --verbose : Enable verbose output
  • -e, --export [file] : Export the structure to a file (default: export.ct)
  • -d, --directory [directory] : Directory to copy
  • -b, --build [file] : Build structure based on a .ct file
  • -h, --help : Display help information

Examples

Generate an ASCII file tree for the current directory:

copytree

Replicate a directory tree from a .ct file:

copytree -b tree.ct

Export the current directory structure to a .ct file:

copytree -e my_structure.ct

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please contact meepstertron@gmail.com.

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

copytree_cli-0.1.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

copytree_cli-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file copytree_cli-0.1.2.tar.gz.

File metadata

  • Download URL: copytree_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.0

File hashes

Hashes for copytree_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1a89d01d18ba068a823f7ae4cdfe7a32f9c69e7850722a3809931627eb981196
MD5 ce59b6461647b281cb3a49f5c166cc20
BLAKE2b-256 c0fe99c68b7e713ed72bf79c35f18c15a46130757dade1e4144b44a6f67f5483

See more details on using hashes here.

File details

Details for the file copytree_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: copytree_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.0

File hashes

Hashes for copytree_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7e97d7afc8fe97d10b864f02cff8e2d66bc8515769a96e27fc080e2be9a674
MD5 b1e99e2cffd45a97ca7134bea8b48b09
BLAKE2b-256 d94bbfdf9fc26a5b3452fb9fee586937348bd7faedcc15e436d40df89671bcce

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