Skip to main content

recursively compare dictrories and report which files are newer

Project description

rdifftime

Compare directories recursively and (for files which content differs) report which files are most recenly modified.

rdifftime uses md5 to compare content of files. Better then diff -qr.

$ ./rdifftime /tmp/dir1/ /tmp/dir2/
/tmp/dir1/x.txt > /tmp/dir2/x.txt
./dir1only.txt MISS /tmp/dir2/
./dir2only.txt MISS /tmp/dir1/

In this example x.txt differs, and /tmp/dir1/x.txt is newer (mtime is bigger). Files which exists in both directories and has same md5sum are not reported.

Use '-i TEMPLATE' to ignore specific files (full path relative to any of dir is used, not just filename). Example:

./rdifftime /tmp/dir1/ /tmp/dir2/ -i .svn/* ./dir1*

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rdifftime-0.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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