Skip to main content

Safecopy

Safecopy syncronizes drives and directories very carefully. Like rsync, without rsync's insecure default metadata check. Securely copies to and from remote filesystems through sshfs.

Description

Reliably Synchronize Drives and Directories

Safecopy synchronizes drives and directories, and carefully verifies the copy. When you are copying massive files or large directory trees, it's important to know that every file was copied accurately. Safecopy verifies byte-by-byte, or you can choose a quick metadata check.

Install

pip3 install safecopy

Updates

All future updates will only be available from:

git clone https://codeberg.org/topdevpros/safecopy.git

How it Works

safecopy SOURCE ... DESTINATION

It's just like the standard cp command. You can have as many source paths as you like. The destination path is always last.

Safecopy gives you a lot of control: -h, --help Show this help message --verbose Show progress --quick Only update files if the size or last modified time is different --dryrun Show what would be done, but don't do anything --delete Delete all files that are not in the source before copying any files --nowarn No warnings --test Run tests --exclude EXCLUDE_PATH... Exclude the files or directories (comma separated) --verify Verify copies --persist Continue on errors, except verify error --retries RETRIES How many times to retry a failed copy. Default is not to retry

If you need the rsync protocol run "pip3 install pyrsync2". But it's almost always better to replace rsync with safecopy and sshfs. Error messages

Warning: setuid/setgid bit set on ...

Safecopy detects when the setuid/setgid bit is set. This is almost always a serious security risk. To remove the bit:

chmod -s PATH

Release files for safecopy 1.3.4

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

Source distribution (sdist)

Source distribution for safecopy 1.3.4
File Size Uploaded
safecopy-1.3.4.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 27.3 kB

Release files / safecopy-1.3.4.tar.gz

Download URL safecopy-1.3.4.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3154e7381c2bcb211cfe29cbfd375323f99df4375ee116c9856e11ad989fab4c
BLAKE2b-256 checksum
How to use checksums
c81ff3fc4616a2aa57dd831b9556f77bfdc834706201fac4b424828077bea24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / safecopy-1.3.4-py3-none-any.whl

Download URL safecopy-1.3.4-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d500b7b7d0cac9ff2a8f3c81dea75dbd6499b435309946ddb56db749480da1e
BLAKE2b-256 checksum
How to use checksums
4fa92497c514796ed176f4bea1b2df104185f5c50f8a056cf5e069a7562ca3ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.3.4 This release

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.0

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

2 release files

1.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