Compress, encrypt 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 2012/10/24 17:05 UTC
Read the original article Hit count: 353

Filed under:
|
|

I want to accomplish 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 accomplish this in an automated fashion on Linux server.

TrueCrypt is not really an option in this case as it seems it can't compress 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