PyCopier
Supports Python 2.7/3.5 and later. If it doesn't work with your Python version, feel free to submit a PR. PRs are welcome!
A Python-based multi-threaded directory copier. This was created in the spirit of wanting to give a cross-platform way of doing a multi-threaded copy, in a way similar to Microsoft's Robocopy. Some params are implemented similarly to parameters of the same name from Robocopy. (Simple Robocopy calls may work with PyCopier by replacing robocopy.exe with pycopier.)
Installation
To install, clone down and in the top pycopier directory run:
python -m pip install .
or
python -m pip install pycopier
Simple Usage
After install, you can run via ...
python -m pycopier SourceDir DestinationDir <optional params>
or
pycopier SourceDir DestinationDir <optional params>
Extended Usage
____ ______ _
/ __ \__ __/ ____/___ ____ (_)__ _____
/ /_/ / / / / / / __ \/ __ \/ / _ \/ ___/
/ ____/ /_/ / /___/ /_/ / /_/ / / __/ /
/_/ \__, /\____/\____/ .___/_/\___/_/
/____/ /_/
... a Python replacement for Robocopy, including multithreaded copy.
optional arguments:
/h, //help show this help message and exit
Robocopy Arguments:
Arguments that more/less match Robocopy
Source Specifies the path to the source directory.
Destination Specifies the path to the destination directory.
/MT MT Creates multi-threaded copies with N threads. The default value
for N is 8
/create Creates a directory tree and zero-length files only.
/quit Quits after processing command line (to view parameters).
/purge Deletes destination files and directories that no longer exist
in the source.
/move Moves files and directories, and deletes them from the source
after they are copied.
/copyall Copies all file information.
/s Copies subdirectories. Note that this option excludes empty
directories. (robocopy's /e option for subdirectories including
empties is default for pycopier)
PyCopier Arguments:
Arguments that are specific to PyCopier
/quiet If set, be completely quiet during execution.
Development
All development happens off of the master branch (or PRs to master). Once a 'release' is needed, versions, etc. will be updated in the master branch, tagged, and merged to the release branch. Nothing should be in the release branch that hasn't already been in the master branch.
License
This project is made available via the MIT License
Metadata
Release files for pycopier 1.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 |
|---|---|---|---|---|
| pycopier-1.2.0.tar.gz | 7.0 kB | Without provenance | Details for pycopier-1.2.0.tar.gz |
Release files / pycopier-1.2.0.tar.gz
| Download URL | pycopier-1.2.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
264f2b85cc3ded4220cf787ae499095815e80a9f2e0c72b4f607bd5df43506c8
|
|
BLAKE2b-256 checksum How to use checksums |
9062332b786d79a01ee8f017b2e713187aa11502fa7dc92aa341f25de04f34cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Security for pycopier 1.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.