Compress, encrypt and upload a directory to an FTP server in Linux
- by Kristoffer L
I want to accomplish something rather simple (at least it would seem to be):
Compress a directory
Encrypt the compressed file
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.