Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
## 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)](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