rugt
(EW)
May 5, 2019, 8:39am
1
As a user i’d like to be able to compare two directories/backups, ignoring the internal sub directory structure.
e.g.
/DirectoryX/subX/file1.txt
/DirectoryY/subY/subZ/file1.txt
/DirectoryY/subY/subZ/file2.txt
==> hash all the files and compare them ignoring the folder structure so that
file1.txt == file1.txt
and file2 was found in DirectoryY but not in DirectoryX
ncw
(Nick Craig-Wood)
May 7, 2019, 11:10am
2
rclone doesn’t have direct support for that…
You could use rclone md5sum
(or whatever hash the remote supports) then do a bit of sort and diff - that should work.
so something like
diff <(rclone md5sum /DirectoryX/ | sort) <(rclone md5sum /DirectoryY/ | sort)
rugt
(EW)
May 7, 2019, 2:12pm
3
thanks. great idea. Does it seem like a good feature request? something that people would like to see as a part of rclone?
ncw
(Nick Craig-Wood)
May 8, 2019, 9:09am
4
I think it is probably a bit niche - I don't think I've heard any other requests for a similar system.
system
(system)
Closed
August 6, 2019, 9:09am
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.