summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/DOCS/MANUAL/switches/volume.htm
blob: 91ddc292465d51035fd165b877c2dc8982896072 (plain)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
  <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  <TITLE>-v (Create Volumes) switch</TITLE>
  <LINK href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<H1>-v (Create Volumes) switch</H1>

<P>Specifies volume sizes.</P>

<H4>Syntax</H4>

<PRE class="syntax">
-v{Size}[b | k | m | g]

</PRE>
<DL>
  <DT>{Size}[b | k | m | g]</DT>
  <DD>Specifies volume size in Bytes, Kilobytes (1 Kilobyte = 1024 bytes),
  Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 Gigabyte = 1024 Megabytes).
  if you specify only {Size}, 7-zip will treat it as bytes.</DD>
</DL>

<P>It's possible to specify several -v switches.</P>

<P><B>NOTE:</B> Please don't use volumes (and don't copy volumes) before finishing archiving. 
7-Zip can change any volume (including first volume) at the end of archiving operation.</P>

<H4>Examples</H4>

<PRE class="example">
7z a a.7z *.txt -v10k -v15k -v2m
</PRE>

<P>creates multivolume <SPAN class="filename">a.7z</SPAN> archive.
First volume will be 10 KB, second will be 15 KB, and all others will be 2 MB.</P>

<H4>Commands that can be used with this switch</H4>

<P>
  <A href="../commands/add.htm">a (Add)</A>,
</P>

</BODY>
</HTML>