Skip to main content

copytool copies files hell-bent for leather

Project description

copytool

copytool copies files hell-bent for leather

Tested+compiled against Windows 10 / Python 3.10 / Anaconda

TeraCopy needs 4 minutes, copytool does it 6 seconds

CLI

Compiled EXE:

  Example: copytool --src "C:\ProgramData\anaconda3\envs" --dst "e:\envbackup" --use_tqdm 1 --copy_date 1 --copy_permission 0 --overwrite 1
  --src                     str         (source folder)
  --dst                     str         (destination folder)
  --log                     str  ""     (csv log)
  --copy_date               int  0      (copy date stats)
  --copy_permission         int  0      (copy permissions)
  --use_tqdm                int  1      (show progress bar)
  --overwrite               int  1      (overwrite existing files in dst)
  --use_uffs                int  1      (use uffs to get a list of files)

Python

# pip install copytool 
from copytool import get_all_files_on_hdd_and_copy
get_all_files_on_hdd_and_copy(
    src = r"C:\path",
    dst = r"e:\dest",
    log = "c:\\copylog.csv",
    copy_date= 0,
    copy_permission= 0,
    use_tqdm = 1,
    overwrite = 1,
    use_uffs = 1
)     

get_all_files_on_hdd_and_copy(
    src = r"C:\path",
    dst = r"e:\dest",
    log = "",
    copy_date= 0,
    copy_permission= 0,
    use_tqdm = 1,
    overwrite = 1,
    use_uffs = 0 # no logging without uffs 
)     

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

copytool-0.12.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

copytool-0.12-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file copytool-0.12.tar.gz.

File metadata

  • Download URL: copytool-0.12.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for copytool-0.12.tar.gz
Algorithm Hash digest
SHA256 6e8dd36cf700b1b1fdd2d08d33bc55ba9837a900dbe4d19b3ff1ad6422924a92
MD5 57ebed3612aea49ba9c3e94224b1da67
BLAKE2b-256 99b29e5572d57e7a18cdb09af932ad3c15e9b54a8714af71f31df7022fcfb21e

See more details on using hashes here.

File details

Details for the file copytool-0.12-py3-none-any.whl.

File metadata

  • Download URL: copytool-0.12-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for copytool-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fb008a194839d7767e162735ff0b173957cecc533d2bd1265545cec6a4718f66
MD5 363df801947a79b77df946a7c88cbe7e
BLAKE2b-256 74da14238ef8a09d8bfe1240148cdd2ff75b3bc8b0a6abce28fbee05bbd220f0

See more details on using hashes here.

Supported by

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