aben20807 / excp

A toy copy tool inspired by KOCARD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

excp

Copy files with comparison checks.

I just add GUI for shutil.copy2 and filecmp.cmp.

Download the pre-build binary for win10 from the release.

Demo

excp

Build from source

  • Python 3.9.13

  • Windows powershell commands:

> python -m virtualenv venv
> .\venv\Scripts\Activate.ps1
> pip install alive-progress
> pip install pyinstaller
> pyinstaller -F -c --clean --collect-all grapheme --icon=excp.ico .\excp\excp.py

Performance

Benchmark: 40 .jpg + 40 .nef (1.52 GB, 1,636,901,294 Bytes) from NAS to NAS locally

  • Copy by ctrl-c ctrl-v: 19s (just copy without file comparison)
  • Copy by excp: 49s (shutil.copy2 is slow)
  • Copy by excp with asyncio and concurrent.futures: 43s (deprecated because of non-significant improvement)

Disclaimer

While the author uses excp to copy the files from his camera to the PC, you should not rely on this program for your important data. The author is not responsible for any damage to the data.

Icon credit

The icon (excp.ico) is from Kirill Kazachek who shares it under CC BY 4.0

License

MIT

About

A toy copy tool inspired by KOCARD

License:MIT License


Languages

Language:Python 100.0%