Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aben20807/excp
A toy copy tool inspired by KOCARD
https://github.com/aben20807/excp
copy kocard win10
Last synced: about 5 hours ago
JSON representation
A toy copy tool inspired by KOCARD
- Host: GitHub
- URL: https://github.com/aben20807/excp
- Owner: aben20807
- License: mit
- Created: 2022-08-06T00:46:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T06:18:10.000Z (over 2 years ago)
- Last Synced: 2023-03-04T18:41:30.167Z (over 1 year ago)
- Topics: copy, kocard, win10
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# excp
Copy files with comparison checks.
I just add GUI for [`shutil.copy2`](https://docs.python.org/3/library/shutil.html?highlight=shutil%20copy2#shutil.copy2) and [`filecmp.cmp`](https://docs.python.org/3/library/filecmp.html?highlight=filecmp%20cmp#filecmp.cmp).
Download the pre-build binary for win10 from the [release](https://github.com/aben20807/excp/releases).
## Demo
![excp](https://user-images.githubusercontent.com/14831545/183351047-c1d2ec44-4575-4663-a8da-2898b33fffd6.gif)
## Build from source
+ Python 3.9.13
+ Windows powershell commands:
```powershell
> 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)
## DisclaimerWhile 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)](https://icon-icons.com/icon/copy-paste-move-square/67897) is from [Kirill Kazachek](https://www.behance.net/kazachek) who shares it under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
## License
MIT