OSDN Git Service

add help file in v4.64
[sevenzip/7-Zip.git] / chm / cmdline / switches / stdout.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>-so (write data to stdout) 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>-so (write data to stdout) switch</H1>\r
12 \r
13 <P>Causes 7-Zip to write output data to stdout (standard output stream).</P> \r
14 \r
15 <H4>Syntax</H4>\r
16 \r
17 <PRE class="syntax">\r
18 -so\r
19 </PRE>\r
20 \r
21 <H4>Examples</H4>\r
22 \r
23 <PRE class="example">\r
24 7z x archive.gz -so > Doc.txt\r
25 </PRE>\r
26 \r
27 <P>decompresses <SPAN class="filename">archive.gz</SPAN> \r
28 archive to output stream and then redirects that stream to\r
29 <SPAN class="filename">Doc.txt</SPAN> file.</P>\r
30 \r
31 \r
32 <PRE class="example">\r
33 7z a dummy -tgzip -so Doc.txt > archive.gz\r
34 </PRE>\r
35 \r
36 <P>compresses the <SPAN class="filename">Doc.txt</SPAN> file to the 7-Zip standard\r
37 output stream and writes that stream to \r
38 <SPAN class="filename">archive.gz</SPAN> file.</P>\r
39 \r
40 <H4>Commands that can be used with this switch</H4>\r
41 \r
42 <P>\r
43   <A href="../commands/add.htm">a (Add)</A>,\r
44   <A href="../commands/extract.htm">e (Extract)</A>,\r
45   <A href="../commands/update.htm">u (Update)</A>,\r
46   <A href="../commands/extract_full.htm">x (Extract with full paths)</A>\r
47 </P>\r
48 \r
49 </BODY>\r
50 </HTML>\r