Darren Share wrote:

Thanks for this program, it works great.

I've been hunting around for ages and there doesn't seem to be a way to exclude certain files or directories in a path from being encrypted. I know I can encrypt them and then exclude them from the rysnc command but that still means having to store the encrypted files locally for no good reason.

The reason I need this is because I want to back up a directory, a sub-directory of which contains my key files. If I encrypt the actual key files I suspect I'm going to get some nasty recursion issues.

If I'm wrong, please tell me how to do it.

If I'm right, please consider this a feature request :)
I understand the feature request, but I really would rather not take rsyncrypto in that direction. The recommended way, right now, to do what you want is to pipe the output of "find" (that has more exclusions, inclusions and other filters than rsyncrypto will ever have) to the file list of things for rsyncrypto to encrypt. I believe this does exactly what you want.


Shachar Shemesh
Lingnu Open Source Consulting Ltd.