https://github.com/deepjyoti30/cpf
Copy faster
https://github.com/deepjyoti30/cpf
copy cp faster python threading
Last synced: 3 months ago
JSON representation
Copy faster
- Host: GitHub
- URL: https://github.com/deepjyoti30/cpf
- Owner: deepjyoti30
- Created: 2018-07-09T15:46:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T16:05:56.000Z (almost 7 years ago)
- Last Synced: 2024-05-27T12:45:02.472Z (12 months ago)
- Topics: copy, cp, faster, python, threading
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Copy Faster
### An utility to copy stuff faster.
## Prerequisites
* Python 3.x
## Installation
```sh
git clone https://github.com/deepjyoti30/cpf
cd cpf
```*You can add an alias to your bashrc or zshrc to use it like cp*
## Running
```shusage: cpf.py [-h] [-r] [-p] [-v] SRC DES
positional arguments:
SRC Source File Name.
DES Destinaion File Name.optional arguments:
-h, --help show this help message and exit
-r, --recursive Copy the files recursively
-p, --progress Show a progress bar
-v, --verbose Explain what is being done```
### How it Works
It uses multithreading in order to copy the files faster.
The file is broken into chunks and later combined into one big file.### Being worked on
1. Progress Bar (Still a bit buggy at times).
### Things to Add
* Try to make it more efficient.
* ~~Add Windows support (not tested yet, please notify me if it does).~~
* ~~Add Folder support.~~
* ~~Add progressbar.~~### Issues
1. As of now space is an issue, since the filechunks are first copied, then combined and then deleted. That makes it use 2x the space.
2. Less RAM might also turn out to be an issue.