7ZIP manual & documentation

On this site:
7zC.txt
7zFormat.txt
License.txt
MANUAL/commands/add.htm
MANUAL/commands/bench.htm
MANUAL/commands/delete.htm
MANUAL/commands/extract.htm
MANUAL/commands/extract_full.htm
MANUAL/commands/index.htm
MANUAL/commands/list.htm
MANUAL/commands/style.css
MANUAL/commands/test.htm
MANUAL/commands/update.htm
MANUAL/exit_codes.htm
MANUAL/index.htm
MANUAL/style.css
MANUAL/switches/ar_exclude.htm
MANUAL/switches/ar_include.htm
MANUAL/switches/ar_no.htm
MANUAL/switches/charset.htm
MANUAL/switches/exclude.htm
MANUAL/switches/include.htm
MANUAL/switches/index.htm
MANUAL/switches/list_tech.htm
MANUAL/switches/method.htm
MANUAL/switches/output_dir.htm
MANUAL/switches/overwrite.htm
MANUAL/switches/password.htm
MANUAL/switches/recurse.htm
MANUAL/switches/sfx.htm
MANUAL/switches/ssc.htm
MANUAL/switches/stdin.htm
MANUAL/switches/stdout.htm
MANUAL/switches/stop_switch.htm
MANUAL/switches/style.css
MANUAL/switches/type.htm
MANUAL/switches/update.htm
MANUAL/switches/volume.htm
MANUAL/switches/working_dir.htm
MANUAL/switches/yes.htm
MANUAL/syntax.htm
Methods.txt
copying.txt
history.txt
lzma.txt
readme.txt
unRarLicense.txt

-i (Include filenames) switch

Specifies additional include filenames and wildcards.

Multiple include switches are supported.

Syntax

-i[<recurse_type>]<file_ref>

<recurse_type> ::= r[- | 0]
<file_ref> ::= @{listfile} | !{wildcard}

Parameters

<recurse_type>

Specifies how wildcards and file names in this switch must be used. If this option is not given, then the global value, assigned by the -r (Recurse) switch will be used. For more details see specification of the -r (Recurse) switch.

<recurse_type> ::= r[- | 0]
<file_ref>

Specifies filenames and wildcards, or a list file, for files to be processed.

<file_ref> ::= @{listfile} | !{wildcard}
Option Description
{listfile} Specifies name of list file. See List file description.
{wildcard} Specifies wildcard or filename.

Examples

7z a -tzip src.zip *.txt -ir!DIR1\*.cpp

adds to src.zip archive all *.txt files from current directory and all *.cpp files from directory DIR1 and from all it's subdirectories.

Commands that can be used with this switch

a (Add), d (Delete), e (Extract), l (List), t (Test), u (Update), x (Extract with full paths)

See also

Switches: -r (Recurse), -x (Exclude)

Hosted by bugaco.com