Skip to main content

FolderDiff is a tool to compare unzipped archives (e.g. Wordpress installations) with their original zip archive or a clean source folder.

Project description

FolderDiff

FolderDiff can be used to compare unzipped archives (e.g. Wordpress installations) with their original zip or tar archive (.zip, .tar, .tar.gz, .tar.bz2, .tar.xz) or a clean source folder.

As a result the found changes (added, deleted, moved and changed) are displayed.

Command usage

$ folderdiff -h
usage: folderdiff [-h] [--prefix PREFIX] FILES FILES

folder compare tool

positional arguments:
  FILES            directory or archive to compare

options:
  -h, --help       show this help message and exit
  --prefix PREFIX  remove the prefix from the source and/or destination folder

Sample output

folderdiff wordpress-6.0.3-de_AT.zip /var/www/ --prefix wordpress/
===================== Added ======================
+ webshell.php
==================== Modified ====================
* index.php

Limitations

  • Files that cannot be read (broken symlinks, missing permissions) are skipped with a warning on stderr instead of aborting the whole comparison.
  • Symlinked directories are not followed, so their contents are not included in the comparison.
  • Password-protected zip archives are not supported.
  • Unlike zip archives, tar archives have no per-file checksum. A corrupted tar member may in rare cases be silently dropped from the comparison instead of being reported as an error.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

folderdiff-1.0.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

folderdiff-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file folderdiff-1.0.0.tar.gz.

File metadata

  • Download URL: folderdiff-1.0.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for folderdiff-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fa407fd11ae9ac4ac8ee6488c21555cd7905eb60e75d981b042121b15849590b
MD5 a22d71ca6d5b7a0183121e73f44c6aae
BLAKE2b-256 f60b3e5043330b6bfb6c3f43f05aed102c29dc678c74a2291d37b917302be1d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for folderdiff-1.0.0.tar.gz:

Publisher: python-publish.yml on manfred-kaiser/folderdiff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file folderdiff-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: folderdiff-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for folderdiff-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3049ed05ebe5ad9a27249ee2951f904409a4e3b3187fe660fd8b5e908b8866e
MD5 ab3bb0314dc49d656f0260363156af24
BLAKE2b-256 d27812f8f9fd7d11dc37a0d37124b00283b67217ff0cf8c243f7855c0ada701a

See more details on using hashes here.

Provenance

The following attestation bundles were made for folderdiff-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on manfred-kaiser/folderdiff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page