1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
\r
4 <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
\r
5 <TITLE>-si (read data from stdin) switch</TITLE>
\r
6 <LINK href="style.css" rel="stylesheet" type="text/css">
\r
11 <H1>-si (read data from stdin) switch</H1>
\r
13 <P>Causes 7-Zip to read data from stdin (standard input) instead of from disc files.</P>
\r
17 <PRE class="syntax">
\r
22 <DT>{file_name}</DT>
\r
23 <DD>Specifies a name that will be stored in the archive for the compressed data.
\r
24 If file_name is not specified, data will be stored without a name.</DD>
\r
27 <P>Note: The current version of 7-Zip does not support reading of archives from stdin.</P>
\r
31 <PRE class="example">
\r
32 7z a archive.gz -tgzip -siDoc2.txt < Doc.txt
\r
35 <P>compresses input stream from file Doc.txt to
\r
36 <SPAN class="filename">archive.gz</SPAN> archive
\r
37 using <SPAN class="filename">Doc2.txt</SPAN> file name.</P>
\r
39 <H4>Commands that can be used with this switch</H4>
\r
42 <A href="../commands/add.htm">a (Add)</A>,
\r
43 <A href="../commands/update.htm">u (Update)</A>
\r