Como faço para extrair todos os arquivos em um arquivo 7-Zip .7z EXCETO certos tipos de arquivos
Use a opção -x
(Exlude filenames).
7z e backup.7z -x! .doc
-x (Excluir nomes de arquivos) alternar
Specifies which filenames or wildcarded names must be excluded from the operation.
Multiple exclude switches are supported.
Syntax
-x[<recurse_type>]<file_ref> <recurse_type> ::= r[- | 0] <file_ref> ::= @{listfile} | !{wildcard}
See
-i
(Include) switch description for information about option parameters.Examples
7z a -tzip archive.zip *.txt -x!temp.*
adds to the archive archive.zip all .txt files, except temp. files.
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)