Hello,
Not sure if this is possible but figured it can't hurt to ask. If I have a union remote named union: consisting of /mnt/path1 and /mnt/path2, and I run rclone dedupe union:, is there a flag or option to say only delete dupes from /mnt/path2?
Essentially I'm trying to find hash matches across two paths, the first path is read only, the second path is rw, so obviously, I can only delete from the second path. I'm not sure if there is a way to do this with rclone. Thanks in advance for any help/guidance.
-Ed
You can also do this with the relatively new rclone dedupe --by-hash which is probably pretty similar to your hashes into excel but gives tools for which one to delete.
Exactly what I needed. Thanks! I ran it, and it appears to only spit out hashes, not file names. Is their a flag to spit out file names with the hashes? Thanks again!
$ rclone dedupe --by-hash a
2021/07/31 12:03:08 NOTICE: b1946ac92492d2347c6235b4d2611184: Found 2 files with duplicate md5 hashes
b1946ac92492d2347c6235b4d2611184: 2 duplicates
1: 6 bytes, 2021-07-31 12:02:35.129599017, one
2: 6 bytes, 2021-07-31 12:02:37.265480512, two
s) Skip and do nothing
k) Keep just one (choose which in next step)
s/k>
1.55 I believe. I'll double check. However I was trying to do so unattended and spit out to a file so I could parse and mass delete. The output in non interactive doesn't seem to provide file names. But I'll try again with 1.56. Thanks again.