hhcp
Copy a large number of files with multi thread to speed up normal cp.
Install
pip install hhcp
Usage
Copy a list of files with a filelist to a specified folder.
hhcp -f path_of_file_list -d destination_folder [--pre root_of_all_files] [--force]
Copy a dir to a specified folder
hhcp -p path_of_dir_to_be_copied -d destination_folder [--force]
Only one of -p and -f can be used at the same time.
Example
Copy a list of files with a filelist called list.txt to a specified
folder /mnt/lustre/share with root path /mnt/hh and force
overwrite files with same name.
hhcp -f list.txt -d /mnt/lustre/share --pre /mnt/hh --force
Copy the dir dir1 in current path to another folder hh in the
current path without overwrite.
hhcp -p ./dir1 -d ./hh
Parameters
-
p
Path of the directory to be copied.
-
f
Path of the file list.
-
d
Path of the destination
-
force
Add this to allow force overwrite
-
pre
The path prefix of the files in the filelist.
Can only be used with
-f.
Release files for hhcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hhcp-0.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hhcp-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / hhcp-0.1.2.tar.gz
| Download URL | hhcp-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9905f637bbfadef970a28cd7b5b38d395ebc208044da27dd86b264e6ad419388
|
|
BLAKE2b-256 checksum How to use checksums |
94e96758f63255c41c70b4b987ac8f9b0ec0ae0ccefe4a67568e13071b9e81b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / hhcp-0.1.2-py2.py3-none-any.whl
| Download URL | hhcp-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
003c86a473a9fbf3da2cb638b11f5530f356bb1f98b8b97c04e7c6701200f069
|
|
BLAKE2b-256 checksum How to use checksums |
02ac81529824e815db7e9bbfe064afbb485859416638b82e53146324a5467d13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|