Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smondet/dircmp
Small OCaml tool to compare big directories with MD5 hashes
https://github.com/smondet/dircmp
Last synced: 26 days ago
JSON representation
Small OCaml tool to compare big directories with MD5 hashes
- Host: GitHub
- URL: https://github.com/smondet/dircmp
- Owner: smondet
- Created: 2011-10-04T21:33:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-03T20:18:20.000Z (over 11 years ago)
- Last Synced: 2023-03-12T03:03:30.028Z (almost 2 years ago)
- Language: OCaml
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Directory Comparison
** Build:
ocamlfind ocamlc -package unix -linkpkg dircmp.ml -o dircmp** Run:
See “dircmp help”, and then “dircmp -help”.
One example:
On machine1:
dircmp digest -parse-tree path/to/dir -save-to dir_on_machine1.dircmp
On machine2:
dircmp digest -parse-tree path/to/dir -save-to dir_on_machine2.dircmp
Move (scp) the .dircmp files to machine3
dircmp diff dir_on_machine1.dircmp dir_on_machine2.dircmp(The extension if now important for diffing)
Another example:
dircmp digest -parse-tree path/to/dir1 -print-to dir1.txt
dircmp digest -parse-tree path/to/dir1 -print-to dir2.txtdiff dir1.txt dir2.txt