Cryptcheck doesn't support --one-way


#1

cryptcheck doesn’t support --one-way

the documentation says it does, but it just doesn’t, at all.


#2

It seems to work for me.

This was introduced in version 1.42 - what version are you using?

$ rclone cryptcheck --one-way /tmp/src secret:
2018/07/11 14:31:31 ERROR : file.txt: File not in Encrypted drive 'secret:'
2018/07/11 14:31:31 NOTICE: Encrypted drive 'secret:': 1 files missing
2018/07/11 14:31:31 NOTICE: Encrypted drive 'secret:': 1 differences found
2018/07/11 14:31:31 Failed to cryptcheck: 1 differences found
$ rclone cryptcheck /tmp/src secret:
2018/07/11 14:31:38 ERROR : file.txt: File not in Encrypted drive 'secret:'
2018/07/11 14:31:38 ERROR : a_file.txt: File not in Local file system at /tmp/src  // *** this didn't get shown above
2018/07/11 14:31:38 NOTICE: Encrypted drive 'secret:': 1 files missing
2018/07/11 14:31:38 NOTICE: Local file system at /tmp/src: 1 files missing
2018/07/11 14:31:38 NOTICE: Encrypted drive 'secret:': 2 differences found
2018/07/11 14:31:38 Failed to cryptcheck: 2 differences found

#3

I just did it again, it worked flawlessly. I must have been doing it backwards before.