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.
-
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
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
andconcurrent.futures
: 43s (deprecated because of non-significant improvement)
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.
The icon (excp.ico) is from Kirill Kazachek who shares it under CC BY 4.0
MIT