{"id":366,"date":"2023-09-02T12:11:49","date_gmt":"2023-09-02T10:11:49","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=366"},"modified":"2023-09-06T09:43:11","modified_gmt":"2023-09-06T07:43:11","slug":"7z-command-line-parameter","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/7z-command-line-parameter\/","title":{"rendered":"7z command line parameter"},"content":{"rendered":"<p>Hier &#8217;ne feine Doku:<\/p>\n<p><a href=\"https:\/\/7-zip.opensource.jp\/chm\/\">https:\/\/7-zip.opensource.jp\/chm\/<\/a><\/p>\n<h1>Command Line Syntax<\/h1>\n<pre class=\"syntax\">7z <a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/index.htm\">&lt;command&gt;<\/a> [<a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/index.htm\">&lt;switch&gt;<\/a>...] &lt;base_archive_name&gt; [&lt;arguments&gt;...]\r\n<\/pre>\n<pre class=\"syntax\">&lt;arguments&gt; ::= <a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/index.htm\">&lt;switch&gt;<\/a> | &lt;wildcard&gt; | &lt;filename&gt; | [@listfile]\r\n<a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/index.htm\">&lt;switch&gt;<\/a>::= -{switch_name}\r\n<\/pre>\n<p>Expressions in square brackets (between &#8218;[&#8218; and &#8218;]&#8216;) are optional.<\/p>\n<p>Expressions in curly braces (&#8218;{&#8218; and &#8218;}&#8216;) mean that instead of that<br \/>\nExpression (including braces), the user must substitute some string.<\/p>\n<p>Expression<\/p>\n<pre class=\"syntax\">expression1 | expression2 | ... | expressionN\r\n<\/pre>\n<p>means that any (but only one) from these expressions must be specified.<\/p>\n<p><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/index.htm\">Commands<\/a> and<br \/>\n<a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/index.htm\">switches<\/a> can be entered in upper or lower case.<\/p>\n<p>Command is the first non-switch argument.<\/p>\n<p>The &#8222;base_archive_name&#8220; must be the first filename on the command line<br \/>\nafter the command.<\/p>\n<p>The switches and other filenames can be in any order.<\/p>\n<p>Wildcards or filenames with spaces must be quoted:<\/p>\n<pre> \"Dir\\Program files\\*\"\r\nDir\\\"Program files\"\\*\r\n<\/pre>\n<p>Switch options can be combined to save command line length. However, some<br \/>\nswitch options take optional string arguments and therefore, must be the<br \/>\nlast option in a combined argument token string because 7-Zip accepts the<br \/>\nrest of the argument token as the optional argument.<\/p>\n<p>7-Zip uses wild name matching similar to Windows 95:<\/p>\n<ul>\n<li><b>&#8218;*&#8216;<\/b> means a sequence of arbitrary characters.<\/li>\n<li><b>&#8218;?&#8216;<\/b> means any character.<\/li>\n<\/ul>\n<p><b><br \/>\n7-Zip doesn&#8217;t use the system wildcard parser. 7-Zip doesn&#8217;t<br \/>\nfollow the archaic rule by which *.* means any file. 7-Zip treats<br \/>\n*.* as matching the name of any file that has an extension. To process all files, you must<br \/>\nuse a * wildcard.<\/b><\/p>\n<p>Examples:<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>*.txt<\/td>\n<td>means all files with an extension of &#8222;.txt&#8220;<\/td>\n<\/tr>\n<tr>\n<td>?a*<\/td>\n<td>means all files with a second character of &#8222;a&#8220;<\/td>\n<\/tr>\n<tr>\n<td>*1*<\/td>\n<td>means all names that contains character &#8222;1&#8220;<\/td>\n<\/tr>\n<tr>\n<td>*.*.*<\/td>\n<td>means all names that contain two at least &#8222;.&#8220; characters<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The default wildcard &#8222;*&#8220; will be used if there is no filename\/wildcard in the<br \/>\ncommand line.<\/p>\n<p>Slash (&#8218;\\&#8216;) at the end of a path means a directory. Without a Slash (&#8218;\\&#8216;) at<br \/>\nthe end of the path, the path can refer either to a file or a directory.<\/p>\n<h2><a name=\"ListFile\"><\/a>List file<\/h2>\n<p>You can supply one or more filenames or wildcards for special list files<br \/>\n(files containing lists of files). The filenames in such list file must be<br \/>\nseparated by new line symbol(s).<\/p>\n<p>For list files, 7-Zip uses UTF-8 encoding by default. You can change encoding<br \/>\nusing <a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/charset.htm\">-scs<\/a> switch.<\/p>\n<p>Multiple list files are supported.<\/p>\n<p>For example, if the file &#8222;listfile.txt&#8220; contains the following:<\/p>\n<pre> My programs\\*.cpp\r\nSrc\\*.cpp\r\n<\/pre>\n<p>then the command<\/p>\n<pre> 7z a -tzip archive.zip @listfile.txt\r\n<\/pre>\n<p>adds to the archive &#8222;archive.zip&#8220; all &#8222;*.cpp&#8220; files from directories &#8222;My<br \/>\nprograms&#8220; and &#8222;Src&#8220;.<\/p>\n<h2><a name=\"ListFile\"><\/a>Short and Long File Names<\/h2>\n<p>7-Zip supports short file names (like FILENA~1.TXT) in some cases.<br \/>\nHowever, it&#8217;s strongly recommended to use only the real (long) file names.<\/p>\n<hr size=\"2\" width=\"100%\" \/>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>Exit Codes from 7-Zip<\/h1>\n<p>7-Zip returns the following exit codes:<\/p>\n<table>\n<tbody>\n<tr>\n<th>Code<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>No error<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>Warning (Non fatal error(s)). For example, one or more files were<br \/>\nlocked by some other application, so they were not compressed.<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Fatal error<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Command line error<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Not enough memory for operation<\/td>\n<\/tr>\n<tr>\n<td>255<\/td>\n<td>User stopped the process<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr size=\"2\" width=\"100%\" \/>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>Command Line Commands<\/h1>\n<p>The command is the first non-switch argument on the command line.<\/p>\n<p>Command names are not case sensitive.<\/p>\n<p>See also <a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/syntax.htm\">Command Line Syntax<\/a> for more details about using the command line.<\/p>\n<h2>Commands quick reference<\/h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<th>Command<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/add.htm\">a<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/add.htm\">Add<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/bench.htm\">b<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/bench.htm\">Benchmark<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/delete.htm\">d<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/delete.htm\">Delete<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/extract.htm\">e<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/extract.htm\">Extract<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/hash.htm\">h<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/hash.htm\">Hash<\/a><\/td>\n<\/tr>\n<tr>\n<td>i<\/td>\n<td>Show information about supported formats<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/list.htm\">l<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/list.htm\">List<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/rename.htm\">rn<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/rename.htm\">Rename<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/test.htm\">t<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/test.htm\">Test<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/update.htm\">u<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/update.htm\">Update<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/extract_full.htm\">x<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/commands\/extract_full.htm\">eXtract with full paths<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<hr size=\"2\" width=\"100%\" \/>\n<p>&nbsp;<\/p>\n<h1>Command Line Switches<\/h1>\n<h4>Syntax<\/h4>\n<pre class=\"syntax\">&lt;switch&gt;::= -&lt;switch_characters&gt;[&lt;option&gt;]\r\n\r\n<\/pre>\n<p>On the command line, a switch consists of a switch specifier,<br \/>\neither a dash (-) or a forward slash (\/), followed by the name of<br \/>\nthe switch. Switch names cannot be abbreviated.<\/p>\n<p>Some switches take an argument after the switch name.<br \/>\nNo spaces or tabs are allowed within a switch specification.<br \/>\nSwitch names are not case sensitive, but arguments can be case sensitive.<\/p>\n<p>Switch can be used in any place in command line.<\/p>\n<p>See also <a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/syntax.htm\">Command Line Syntax<\/a> for more details<br \/>\nabout using the command line.<\/p>\n<h2>Switch quick reference<\/h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<th>Switch<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stop_switch.htm\">&#8212;<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stop_switch.htm\">Stop switches parsing<\/a><\/td>\n<\/tr>\n<tr>\n<td>-ad<\/td>\n<td>Show dialog box in GUI version (7zg)<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_include.htm\">-ai<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_include.htm\">Include archive filenames<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_no.htm\">-an<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_no.htm\">Disable parsing of archive_name<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/overwrite.htm\">-ao<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/overwrite.htm\">Overwrite mode<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_exclude.htm\">-ax<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ar_exclude.htm\">Exclude archive filenames<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/bb.htm\"> -bb[0-3] <\/a><\/td>\n<td>Set output log level<\/td>\n<\/tr>\n<tr>\n<td>-bd<\/td>\n<td>Disable progress indicator<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/bs.htm\"> -bs{o|e|p}{0|1|2} <\/a><\/td>\n<td>Set output stream for output\/error\/progress<\/td>\n<\/tr>\n<tr>\n<td>-bt<\/td>\n<td>Show execution time statistics<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/include.htm\">-i<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/include.htm\">Include filenames<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/method.htm\">-m<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/method.htm\">Set Compression Method<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/output_dir.htm\">-o<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/output_dir.htm\">Set Output directory<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/password.htm\">-p<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/password.htm\">Set Password<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/recurse.htm\">-r<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/recurse.htm\">Recurse subdirectories<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sa.htm\"> -sa <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sa.htm\"> Set Archive name mode <\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/scc.htm\"> -scc <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/charset.htm\"> Set charset for for console input\/output <\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/scrc.htm\">-scrc<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/scrc.htm\">Set hash function<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/charset.htm\">-scs<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/charset.htm\">Set charset for list files<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sdel.htm\"> -sdel <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sdel.htm\"> Delete files after including to archive <\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/email.htm\">-seml<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/email.htm\">Send archive by email<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sfx.htm\">-sfx<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sfx.htm\">Create SFX archive<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stdin.htm\">-si<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stdin.htm\">Read data from StdIn<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/large_pages.htm\">-slp<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/large_pages.htm\">Set Large Pages mode<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/list_tech.htm\">-slt<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/list_tech.htm\">Show technical information<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sni.htm\"> -sni <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sni.htm\"> Store NT security information <\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sns.htm\"> -sns <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/sns.htm\"> Store NTFS alternate Streams <\/a><\/td>\n<\/tr>\n<tr>\n<td>-snt[-]<\/td>\n<td>Replace trail dots and spaces in file names for Extract operation<\/td>\n<\/tr>\n<tr>\n<td>-snc<\/td>\n<td>Extract file as alternate stream, if there is &#8218;:&#8216; character in name<\/td>\n<\/tr>\n<tr>\n<td>-snr<\/td>\n<td>Replace &#8218;:&#8216; character to &#8218;_&#8216; character in paths of alternate streams<\/td>\n<\/tr>\n<tr>\n<td>-snh<\/td>\n<td>Store hard links as links (WIM and TAR formats only)<\/td>\n<\/tr>\n<tr>\n<td>-snl<\/td>\n<td>Store symbolic links as links (WIM and TAR formats only)<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stdout.htm\">-so<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stdout.htm\">Write data to StdOut<\/a><\/td>\n<\/tr>\n<tr>\n<td>-spd<\/td>\n<td>Disable wildcard matching for file names<\/td>\n<\/tr>\n<tr>\n<td>-spe<\/td>\n<td>Eliminate duplication of root folder for extract archive command<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/spf.htm\"> -spf <\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/spf.htm\"> Use fully qualified file paths <\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ssc.htm\">-ssc<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/ssc.htm\">Set Sensitive Case mode<\/a><\/td>\n<\/tr>\n<tr>\n<td>-sse<\/td>\n<td>Stop archive creating, if 7-Zip can&#8217;t open some input file<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/shared.htm\">-ssw<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/shared.htm\">Compress files open for writing<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stl.htm\">-stl<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stl.htm\">Set archive timestamp from the most recently modified file<\/a><\/td>\n<\/tr>\n<tr>\n<td>-stm{HexMask}<\/td>\n<td>Set CPU thread affinity mask (hexadecimal number).<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/stx.htm\">-stx{Type}<\/a><\/td>\n<td>Exclude archive type<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/type.htm\">-t<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/type.htm\">Type of archive<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/update.htm\">-u<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/update.htm\">Update options<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/volume.htm\">-v<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/volume.htm\">Create Volumes<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/working_dir.htm\">-w<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/working_dir.htm\">Set Working directory<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/exclude.htm\">-x<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/exclude.htm\">Exclude filenames<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/yes.htm\">-y<\/a><\/td>\n<td><a href=\"https:\/\/7-zip.opensource.jp\/chm\/cmdline\/switches\/yes.htm\">Assume Yes on all queries<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div>\n<div class=\"vtResetstyles\"><\/div>\n<\/div>\n<div>\n<div class=\"vtResetstyles\"><\/div>\n<\/div>\n<div>\n<div class=\"vtResetstyles\"><\/div>\n<\/div>\n<div>\n<div class=\"vtResetstyles\"><\/div>\n<\/div>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"366\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"366\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\">1<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Hier &#8217;ne feine Doku: https:\/\/7-zip.opensource.jp\/chm\/ Command Line Syntax 7z &lt;command&gt; [&lt;switch&gt;&#8230;] &lt;base_archive_name&gt; [&lt;arguments&gt;&#8230;] &lt;arguments&gt; ::= &lt;switch&gt; | &lt;wildcard&gt; | &lt;filename&gt; | [@listfile] &lt;switch&gt;::= -{switch_name} Expressions in square brackets (between &#8218;[&#8218; and &#8218;]&#8216;) are optional. Expressions in curly braces (&#8218;{&#8218; and &#8218;}&#8216;) mean that instead of that Expression (including braces), the user must substitute some string. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":61,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[42,12,7,6],"class_list":["post-366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","tag-7z","tag-kommandozeile","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":5,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"predecessor-version":[{"id":1338,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/366\/revisions\/1338"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}