Union copier:
Default copy behavior offer to skip or replace files which names already existed in the target directory This script allowed to copy files from one or more directories at once to target directory with union mode; if a file with same name present in the destination directory, then the file will be renamed with a unique suffix
Note:
- symlinks are ignored
Installation
python3 -m pip install --user ucopy
Usage
Definition: ucopy sourcepath destpath [-e allowed_extensions] or [-x excluded_extensions] [-v|--verbose]
Example 1: copy only png files, show progress log
ucopy /src/path/ /dest/path/ -e png --verbose
Example 2: copy files with extensions .png .jpg .txt
ucopy /src/path/ /dest/path/ -e .png,.jpg,.txt
Example 3: copy all files, but exclude ones with .zip and .gz extensions
ucopy /src/path/ /dest/path/ -x zip,tar.gz
Example 4: copy all files without restriction
ucopy /src/path/ /dest/path/ -e *
Example 5: copy from multiple source directories matched by glob pattern
ucopy /src/path/*/some/*/ /dest/path/
Note: You can specify file extensions with or without dots
Metadata
Release files for ucopy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ucopy-1.0.1.tar.gz | 3.7 kB | Without provenance | Details for ucopy-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ucopy-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ucopy-1.0.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / ucopy-1.0.1.tar.gz
| Download URL | ucopy-1.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c17811106267c2e693be1e05d2063556a53561e4cc22101e56b82df6cb765306
|
|
BLAKE2b-256 checksum How to use checksums |
17e033f24808820b264c8a718312ce81b420522c5ffe37492528eb0490a11630
|
| 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/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
|
Release files / ucopy-1.0.1-py3-none-any.whl
| Download URL | ucopy-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aa8e46bd1756af8b547ae4ae0451d9a6b0266718b9600f3fed11db3f9c58201
|
|
BLAKE2b-256 checksum How to use checksums |
ea8cb1ca6aad7e1ebb7521e881336891a4ea97a7a094d3f6ad9061994ef18952
|
| 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/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
|
Security for ucopy 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.