source: main/trunk/release-kits/shared/mac/p7z-essentials/DOCS/MANUAL/switches/stdin.htm@ 30095

Last change on this file since 30095 was 30095, checked in by ak19, 9 years ago

We've decided to include a JRE for Mac Greenstone binaries, since later versions of Macs (like Yosemite) do not come with Java. Adding the generated jre 1.7.0_79 self-extracting binary and its related p7z component. Jeremy had long ago compiled up the p7z-essentials binaries 7za and 7zCon.sfx on the Mac that are necessary for generating the Mac self-extracting jre binary.

File size: 1.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<HTML>
3<HEAD>
4 <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
5 <TITLE>-si (read data from stdin) switch</TITLE>
6 <LINK href="style.css" rel="stylesheet" type="text/css">
7</HEAD>
8
9<BODY>
10
11<H1>-si (read data from stdin) switch</H1>
12
13<P>Causes 7-Zip to read data from stdin (standard input) instead of from disc files.</P>
14
15<H4>Syntax</H4>
16
17<PRE class="syntax">
18-si{file_name}
19</PRE>
20
21<DL>
22 <DT>{file_name}</DT>
23 <DD>Specifies a name that will be stored in the archive for the compressed data.
24 If file_name is not specified, data will be stored without a name.</DD>
25</DL>
26
27<P>Note: The current version of 7-Zip support reading of archives from stdin only for xz, lzma, tar, gzip and bzip2 archives.</P>
28
29<H4>Examples</H4>
30
31<PRE class="example">
327z a archive.gz -tgzip -siDoc2.txt < Doc.txt
33</PRE>
34
35<P>compresses input stream from file Doc.txt to
36<SPAN class="filename">archive.gz</SPAN> archive
37using <SPAN class="filename">Doc2.txt</SPAN> file name.</P>
38
39<PRE class="example">
407z x 7z905.tar.gz -so | 7z x -si -ttar
41</PRE>
42
43<P>decompresses <SPAN class="filename">tar.gz</SPAN> archive.</P>
44
45<H4>Commands that can be used with this switch</H4>
46
47<P>
48 <A href="../commands/add.htm">a (Add)</A>,
49 <A href="../commands/extract.htm">e (Extract)</A>,
50 <A href="../commands/update.htm">u (Update)</A>,
51 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
52</P>
53
54</BODY>
55</HTML>
Note: See TracBrowser for help on using the repository browser.