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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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