'Compress or copy folder to stdout

I can't compress folder recursively to stdout. Zip and 7-zip can one file to stdout, but not folder. Rar not compatible compress to stdout in principle. Tar, GZip, Bzip2 - obviously, etc. Please help me find to solution...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source