For example Zip is streamable or pipeable (at least the Linux version), but can not encrypt the filenames, only the data. 7zip and Rar are non streamable, eg it is impossible to pipe the compressed data to another program in the command line, as the archiver makes random seeks in the file, while it is written to the disk. However they can encrypt the filenames, which is a handy feature. I would like to use an archiver, which can do both at the same time: pipeable and encrypts the filenames too.

1 Answer 1


Use Tar, then encrypt (with e.g. GPG or ccrypt), then gzip (or zip). What started out as filenames are treated as data once your files are gathered into a tarball, so they'll be encrypted along with the file contents.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.