Encrypt:
tar -cJvpf - inputdirectory/ | gpg --symmetric --cipher-algo aes256 | split -d -b 100m - outputfile.tar.xz.gpg
Decrypt:
cat outputfile.tar.xz.gpg.* | gpg -d | tar -xJvpf -
Ack: oksage @ askubuntu
Encrypt:
tar -cJvpf - inputdirectory/ | gpg --symmetric --cipher-algo aes256 | split -d -b 100m - outputfile.tar.xz.gpg
Decrypt:
cat outputfile.tar.xz.gpg.* | gpg -d | tar -xJvpf -
Ack: oksage @ askubuntu