uTools-Manuals/docs/linux/dpkg-split.html
2019-04-20 13:36:40 +08:00

22 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="dpkg-split">dpkg-split</h1>
<p>Debian Linux中将大软件包分割成小包</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>dpkg-split命令</strong> 用来将Debian Linux中的大软件包分割成小软件包它还能够将已分割的文件进行合并。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">dpkg-split(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-S设置分割后的每个小文件最大尺寸以字节为单位
-s分割软件包
-j&lt;分块文件&gt;&lt;分块文件&gt;:把各个分块合并到一起;
-I&lt;分块文件&gt;:显示分块文件的相关信息;
-l列出不匹配的部分
-dscard&lt;文件名&gt;:忽略不匹配的部分。</code></pre>
<h3 id="参数">参数</h3>
<p>软件包:指定需要分割的“.deb”软件包。</p>
<h3 id="实例">实例</h3>
<p>把foo.deb分割出N个大小为460KB的文件</p>
<pre><code class="language-bash">dpkg-split -s foo.deb</code></pre>
<p>合并分割文件:</p>
<pre><code class="language-bash">dpkg-split -j &quot;foo*&quot;</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->