Multithread disk files comparasion tool for verification and md5sum report in livecomment format
- python3
- NodeJS for web viewer
$ ./drive.py <src> <dst> <logdir>
src - source directory
dst - destination directory
logdir - log directory
Try this demo example
./drive.py "test0/t0" "test0/t1" "log-test0"
- Install LiveComment
npm i -g livecomment
- Start LiveComment web server
livecomment --path log-test0
open http://localhost:3070/
$ cd log-test0/
# Differences log llog-diff.sh
$ cat llog-diff.sh
# test0/t0 [
src= fileA md5-diff file c6f057b86584942e415435ffb1fa93d4
dst= fileC missed file d41d8cd98f00b204e9800998ecf8427e
dst= fileA md5-diff file 202cb962ac59075b964b07152d234b70
# test0/t0 ]
# All files llog-llogfiles.sh
$ cat llog-llogfiles.sh
# files [
MD5 d41d8cd98f00b204e9800998ecf8427e test0/t0 fileB 0
MD5 c6f057b86584942e415435ffb1fa93d4 test0/t0 fileA 3
MD5 d41d8cd98f00b204e9800998ecf8427e test0/t1 fileC 0
MD5 d41d8cd98f00b204e9800998ecf8427e test0/t1 fileB 0
MD5 202cb962ac59075b964b07152d234b70 test0/t1 fileA 3
# files ]
# Resume llog-proc.sh
$ cat llog-proc.sh
# process [
PROCESS test0/t0 -> test0/t1
# process ]
# total [
src_files:2
src_dirs:0
src_size:3
dst_files:3
dst_dirs:0
dst_size:3
# total ]
MIT
Github @web3cryptowallet
Twitter @web3wallet
Just add an issue and push pull request
livecomment-cli project