Selective Copy
Simple command line application that copies all files with given extensions from a directory and its subfolders to another directory showing progress bar and remaining files counter.
Allows to preserve a source folder structure, to process only files without given extensions, to move files instead of copying, to exclude certain files from processing and to create a log if necessary.
Opens a filedialog if source and/or destination are not given in the command line.
Creates folders in a destination path if they don't exist.
Installing
pip install slcp
This will install version 0.1.0
Usage
slcp ext [ext ...] [-s SRC] [-d DST] [-sc | -dc] [-p] [-i] [-m] [-e FILE [FILE ...]] [-l] [-h]
Positional arguments:
ext One or more extensions of the files to copy.
Enter extensions without a dot and separate by spaces.
Optional arguments:
-s SRC, --source SRC Source folder path.
-d DST, --dest DST Destination folder path.
-sc, --srccwd Use current working directory as a source folder.
-dc, --dstcwd Use current working directory as a destination folder.
-p, --preserve Preserve source folder structure.
-i, --invert Process only files without given extensions.
-m, --move Move files instead of copying, be careful with this option.
-e FILE [FILE ...], Exclude one or more files from processing.
--exclude FILE [FILE ...] Enter filenames with extensions and separate by spaces.
-l, --log Create and save log to the destination folder.
-h, --help Show this help message and exit.
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
Inspired by the task from Chapter 9 of Automate the Boring Stuff.
Metadata
Release files for slcp 0.2.0
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 |
|---|---|---|---|---|
| slcp-0.2.0.tar.gz | 5.8 kB | Without provenance | Details for slcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for slcp-0.2.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / slcp-0.2.0.tar.gz
| Download URL | slcp-0.2.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b92eab4f364822cc71c52941ba39329b2c537f9ede91a51987691e5197e0881c
|
|
BLAKE2b-256 checksum How to use checksums |
32087bb06a4fb3cd3767a21c42771947db8d7ecd10083e3097004766c91fa42b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/4.18.0-25-generic
|
Release files / slcp-0.2.0-py3-none-any.whl
| Download URL | slcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
098f64932dc26db23ae5e537dbca6063ef3da66806214258d58be2f1f542acd7
|
|
BLAKE2b-256 checksum How to use checksums |
8c9d66f74f3e340622a5b6ff3afbe92922c6c63b7afecf27b371cfd55e8a3af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/4.18.0-25-generic
|
Security for slcp 0.2.0
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.