OSDN Git Service

add help file in v4.64
[sevenzip/7-Zip.git] / chm / cmdline / switches / stdin.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\r
2 <HTML>\r
3 <HEAD>\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
7 </HEAD>\r
8 \r
9 <BODY>\r
10 \r
11 <H1>-si (read data from stdin) switch</H1>\r
12 \r
13 <P>Causes 7-Zip to read data from stdin (standard input) instead of from disc files.</P>\r
14 \r
15 <H4>Syntax</H4>\r
16 \r
17 <PRE class="syntax">\r
18 -si{file_name}\r
19 </PRE>\r
20 \r
21 <DL>\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
25 </DL>\r
26 \r
27 <P>Note: The current version of 7-Zip does not support reading of archives from stdin.</P>\r
28 \r
29 <H4>Example</H4>\r
30 \r
31 <PRE class="example">\r
32 7z a archive.gz -tgzip -siDoc2.txt < Doc.txt\r
33 </PRE>\r
34 \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
38 \r
39 <H4>Commands that can be used with this switch</H4>\r
40 \r
41 <P>\r
42   <A href="../commands/add.htm">a (Add)</A>,\r
43   <A href="../commands/update.htm">u (Update)</A>\r
44 </P>\r
45 \r
46 </BODY>\r
47 </HTML>\r