Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I used this command to compress and encrypt a directory:
tar zcvf - /tmp/directory | gpg -c > /tmp/directory.tar.gz.gpg
Do you think this is a logical command. Could you suggest a better one and the corispoding dycript command you would use.
gpg --decrypt /tmp/directory.tar.gz.gpg | tar xzvf -
Required, but never shown