Causes 7-Zip to read data from stdin (standard input) instead of from disc files.
Note: The current version of 7-Zip does not support reading of archives from stdin.
7z a archive.gz -tgzip -siDoc2.txt < Doc.txt
compresses input stream from file Doc.txt to archive.gz archive using Doc2.txt file name.
a (Add), u (Update)