File: add.htm

package info (click to toggle)
p7zip 4.58~dfsg.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,248 kB
  • ctags: 9,827
  • sloc: cpp: 59,866; ansic: 6,781; makefile: 1,520; sh: 814; asm: 160
file content (59 lines) | stat: -rw-r--r-- 1,701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
  <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  <TITLE>a (Add) command</TITLE>
  <LINK href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<H1>a (Add) command</H1>

<P>Adds files to archive.</P>

<H4>Examples</H4>

<PRE class="example">
7z a -tzip archive.zip subdir\
</PRE>

<P>adds all files and subfolders from folder <SPAN class="filename">subdir</SPAN> to archive
  <SPAN class="filename">archive.zip</SPAN>.</P>

<PRE class="example">
7z a -t7z Files.7z *.txt -r
</PRE>

<P>adds all *.txt files from current folder and its subfolders to archive
    <SPAN class="filename">Files.7z</SPAN>.</P>

<H4>Switches that can be used with this command</H4>

<P>
  <A href="../switches/include.htm">-i (Include)</A><BR>
  <A href="../switches/method.htm">-m (Method)</A><BR>
  <A href="../switches/password.htm">-p (Set Password)</A><BR>
  <A href="../switches/recurse.htm">-r (Recurse)</A><BR>
  <A href="../switches/sfx.htm">-sfx (create SFX)</A><BR>
  <A href="../switches/stdin.htm">-si (use StdIn)</A><BR>
  <A href="../switches/stdout.htm">-so (use StdOut)</A><BR>
  <A href="../switches/type.htm">-t (Type of archive)</A><BR>
  <A href="../switches/update.htm">-u (Update)</A><BR>
  <A href="../switches/volume.htm">-v (Volumes)</A><BR>
  <A href="../switches/working_dir.htm">-w (Working Dir)</A><BR>
  <A href="../switches/exclude.htm">-x (Exclude)</A>
</P>

<H4>See also</H4>

<P>
  <B>Commands:</B>
    <A href="delete.htm">d (Delete)</A>,
    <A href="update.htm">u (Update)</A><BR>
  <B>Switches:</B>
    <A href="../switches/update.htm">-u (Update)</A>
</P>

</BODY>
</HTML>