p7zip/DOC/MANUAL/cmdline/switches/volume.htm
2017-10-11 12:35:36 +02:00

50 lines
1.3 KiB
HTML

<!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>