MacOS – Backing up individual files with encryption

backupcommand linemacos

In addition to local Time Machine backups, I would like to automatically backup my working data from my Macbook to a remote FTP space. Because it's a location I don't control and sensitive data, I want to use encryption.

There are some approaches floating around the 'net how to achieve this, for example this tutorial that uses duplicity and works great (I've tested it).

However, all these approaches generate file archives of some sort (tars in the latter example). I would like to have a backup where I can access every file individually, but encrypted. So the backup structure would look something like this:

 Work
  Documents
     Letter to Mr.T.doc.encrypted
     Expenses.txt.encrypted
  Images
     Sunshine.jpg.encrypted   

does anybody know a tool that can achieve this?

Alternatively, is there a stand-alone OS X command that can encrypt files? I might be able to use that in combination with rsync to build this on my own.

Best Answer

This question is a subset of: Tools to compress and encrypt files

See answer here: https://apple.stackexchange.com/a/32732/43002 for built-in command line utilities which (with some scripting) will do what you want. (Such as zip -P and open-ssl)