Skip to main content

parsync

Parsync lets you recursively copy missing files to a directory.

This is equivalent to cp -r --ignore-existing SRC DST but using concurrent copies to accelerate the process.

Example

Copy the content of the current directory:

parsync * /dest

Copy with 2 threads:

parsync -p 2 src dest

Copy only jpeg files and skip a specific directory, note the usage of python regex syntax:

parsync --filter='\.jpg$' --exclude='/somedir/' src dest

Usage

usage: parsync [-h] [--procs PROCS] [--filter [FILTER ...]] [--exclude [EXCLUDE ...]] [--version] SRC [SRC ...] DST

Recursively copy missing files to a directory.

This is equivalent to: cp -r --ignore-existing SRC DST

Note: matching patterns use python regex syntax.

positional arguments:
  SRC                   source files and directories
  DST                   destination directory

options:
  -h, --help            show this help message and exit
  --procs PROCS, -p PROCS
                        maximum number of concurrent copies
  --filter [FILTER ...], -f [FILTER ...]
                        pattern to filter source files
  --exclude [EXCLUDE ...], -e [EXCLUDE ...]
                        pattern to exclude source files
  --version, -v         show program's version number and exit

Metadata

Release files for parsync 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parsync 0.1.0
File Size Uploaded
parsync-0.1.0.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parsync 0.1.0
File Interpreter ABI Platform
parsync-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / parsync-0.1.0.tar.gz

Download URL parsync-0.1.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
827dc292c79ec0c11f7cda83a575b7e7a209ac8bdb630a3a45c2a026104e176e
BLAKE2b-256 checksum
How to use checksums
6cf0c91fa3d0cf142d11f3b3ecec0b60a25da40617798f534b53b718d34ee66a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / parsync-0.1.0-py3-none-any.whl

Download URL parsync-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7842a5e6c7346c05e7a4b28f773ae10d75ac094025358d955ef7b5bbe93c731
BLAKE2b-256 checksum
How to use checksums
a0029a2ea1a19c858a67ec84780aa3127c4e191345f468faa5472fdb32d3ee3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page