You are here: Home » Utilities » File Compression » 7-Zip » Online Manual
114 (65%)   61 (35%)
Online Manual of 7-Zip 4.65
Tips: Convert Microsoft Excel to HTML | PDF to HTML | Convert paper documents to PDF / HTML

-si (read data from stdin) switch

Causes 7-Zip to read data from stdin (standard input) instead of from disc files.

Syntax

syntax">
-si{file_name}
{file_name}
Specifies a name that will be stored in the archive for the compressed data. If file_name is not specified, data will be stored without a name.

Note: The current version of 7-Zip does not support reading of archives from stdin.

Example

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.

Commands that can be used with this switch

a (Add), u (Update)

Rate This Manual

Tips & Guides Related to 7-Zip