Skip to main content

remcmp

Extensible program to compare local and remote directories.

Since it uses the fs module, any extensions (such as fs.smbfs) can be used simply by installing them, and you can write your own.

Installation

You can install it using pip:

pip3 install remcmp

Or download it directly from PyPI.

Usage

$ remcmp -h
usage: remcmp.py [-h] [-f] [-c] [-lf LOG_FILE] [-ll LOG_LEVEL] dir1 dir2

Remote compare directories.

positional arguments:
  dir1                  First directory to compare
  dir2                  Second directory to compare

optional arguments:
  -h, --help            show this help message and exit
  -f, --files-only      Do not recurse into folders, only compare the files
  -c, --no-color        Do not output colorful text
  -lf LOG_FILE, --log-file LOG_FILE
                        Log into a file. This disables colored output
  -ll LOG_LEVEL, --log-level LOG_LEVEL
                        Which logging level to use. SUMMARY can be used to
                        only show the summary. By default this is INFO for
                        terminal and DEBUG for log file

Exit codes

Each stat (e.g. Equal, File only exists on one side) has a flag. If it is encountered at least once then it is OR-ed with the exit code. E.g. Directory only exists on one side and File only exists on one side: 8 | 32 = 40.

No stat: 0
Error: 1
Equal: 2
Not equal: 4
Directory only exists on one side: 8
Directory is file on the other side: 16
File only exists on one side: 32
File is directory on the other side: 64

Metadata

Release files for remcmp 2.1.0.post2

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

Source distribution (sdist)

Source distribution for remcmp 2.1.0.post2
File Size Uploaded
remcmp-2.1.0.post2.tar.gz 3.8 kB Details

Built distribution (wheel)

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

Total release size: 9.3 kB

Release files / remcmp-2.1.0.post2.tar.gz

Download URL remcmp-2.1.0.post2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5ffac2d6d54c8c0da726faeebaed9c2bf5475fe899e39d41774e93b9597e601
BLAKE2b-256 checksum
How to use checksums
ed63e93baa227a990c0a998fc2ba34596ae6ff981c1786caf533a612cb95ea40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Release files / remcmp-2.1.0.post2-py3-none-any.whl

Download URL remcmp-2.1.0.post2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
261c3c73df5f3debb81cdcaad1a3ad62db2119429ea983514b76556ae070aef8
BLAKE2b-256 checksum
How to use checksums
2a4fe34eeff05832a4b3540ed7c5a1591b6b26b262d0001a724b0f96d6f355c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

2.1.0.post2 This release

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