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 have two options:

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.1.tar.gz (4.7 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.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: copytree_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 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.1.tar.gz
Algorithm Hash digest
SHA256 e31ed108ca8621bed5f51f994d7c63070e5738d1568a1e956a317aa1a830c184
MD5 c9f4f8cc1fd4a1a0546d7681a2358132
BLAKE2b-256 16cadd6289558c14cff621b4100ffaffc0f801a009d78f8ccf958d55bf3cbf0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: copytree_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab35ab2555b4fb9ff4e9cfd4a592a2cf217b68313ee4e88955b91e638b5c3f6
MD5 698d21001833e1246a8599b94cc03bd6
BLAKE2b-256 a03e420331e1a2c39761b310b6af21e61c5c30328e342b402e88c4d1166fd5ca

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