Skip to main content

fsdiff - cli tool to compare two filesystems or images

Project description

NAME

fsdiff - A tool to compare filesystems or local disk images. It performs both a content analysis and a It can mount and compare two images locally or it can just compare two filesystems.

SYNOPSIS

fsdiff [-h] [-v --version] [-x] [-i --img] [from] [to]

DESCRIPTION

fsdiff is a very simple tool used to compare recursively the filesystem directory and file structure. It does not only perform a quick (shallow) comparison using os.stat (stat system call), it also compares the contents of the files.

In case they differ, it displays a brief summary report. It is also installed as a Python packaged, so it can be used likewise.

Example run: sudo fsdiff rootfs bootfs

For a more detailed investigation a deep checking tool like diffoscope or Beyond Compare, may be used.

To install you need to run pip3 install fsdiff, with either super user privileges or with the --user flag.

Note: Python 3.x is required, a few new language features are used, like subprocess.run method as well as the cache clearing from the directory compare library. It also needs to be run with super user privileges.

GENERAL OPTIONS

-h
: Displays a help message
-v, --version
: Shows the current version
-x
: Extracts an image if it's compressed
-i, --img
: Sets the comparison type to image (img)
from
: The location of the path (image) to compare from 
to
: The location of the path (image) to compare against

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

fsdiff-0.9.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file fsdiff-0.9.tar.gz.

File metadata

  • Download URL: fsdiff-0.9.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for fsdiff-0.9.tar.gz
Algorithm Hash digest
SHA256 4f10603ec7fe043796d40291d222f63e2a9c41424a7807651f163ee9c27413d2
MD5 88e55d5c695eb081d8cdfc58eddf38bf
BLAKE2b-256 02fbb74906830d8b895dabc2738d0be1764e996c1536c93d2b394b383b570463

See more details on using hashes here.

Supported by

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