"Fossies" - the Fresh Open Source Software archive

Member "p7zip_9.20.1/DOCS/MANUAL/switches/ar_exclude.htm" of archive p7zip_9.20.1_src_all.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

-ax (Exclude archive filenames) switch

Specifies archives to be excluded from the operation.

Multiple exclude archive switches are supported.

Syntax

-ax[<recurse_type>]<file_ref>

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

See -xi (Include archive filenames) switch description for information about option parameters.

Examples

7z t -an -ai!*.7z -ax!a*.7z

tests all *.7z archives, except a*.7z archives.

Commands that can be used with this switch

e (Extract), l (List), t (Test), x (Extract with full paths)

See also

Switches: -ai (Include archives) -an (Disable parsing of archive_name)