https://github.com/yaroslaff/rdifftime
compare directories recursively (like diff -qr) AND report which of modified files are newer/older
https://github.com/yaroslaff/rdifftime
compare diff directories files filesystem find folders new newer old older recent recursive recursively
Last synced: 9 months ago
JSON representation
compare directories recursively (like diff -qr) AND report which of modified files are newer/older
- Host: GitHub
- URL: https://github.com/yaroslaff/rdifftime
- Owner: yaroslaff
- License: mit
- Created: 2022-03-21T14:23:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T12:40:15.000Z (over 3 years ago)
- Last Synced: 2025-09-23T04:42:23.503Z (9 months ago)
- Topics: compare, diff, directories, files, filesystem, find, folders, new, newer, old, older, recent, recursive, recursively
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`.
~~~shell
$ ./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*
~~~