Compress, enctypt and upload a directory to an FTP server in Linux

Posted by Kristoffer L on Super User See other posts from Super User or by Kristoffer L
Published on 2010-05-25T14:44:20Z Indexed on 2010/05/25 14:51 UTC
Read the original article Hit count: 377

Filed under:
|

I want to acomplish something rather simple (at least it would seem to be):

  1. Compress a directory
  2. Encrypt the compressed file
  3. Upload the compressed & encrypted file via FTP

I also want to acomplish this in an automated fashion on Linux server.

TrueCrypt is not really an option as it seems it can't complress a single file, instead you have to make a volume that you mount and move the files into.

This question answers how to do the the upload and I know how to compress a directory. It is just the encryption that's giving me problems.

© Super User or respective owner

Related posts about linux

Related posts about file-encryption