mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-03 19:47:13 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
<h2 id="补充说明">补充说明</h2>
|
||||
<p><strong>ar命令</strong> 是一个建立或修改备存文件,或是从备存文件中抽取文件的工具,ar可让您集合许多文件,成为单一的备存文件。在备存文件中,所有成员文件皆保有原来的属性与权限</p>
|
||||
<h3 id="语法">语法</h3>
|
||||
<pre><code>ab(选项)(参数)
|
||||
<pre><code class="language-bash">ab(选项)(参数)
|
||||
Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
|
||||
ar -M [<mri-脚本]</code></pre>
|
||||
<h3 id="选项">选项</h3>
|
||||
<pre><code>d - 从归档文件中删除文件
|
||||
<pre><code class="language-bash">d - 从归档文件中删除文件
|
||||
m[ab] - 在归档文件中移动文件
|
||||
p - 打印在归档文件中找到的文件
|
||||
q[f] - 将文件快速追加到归档文件中
|
||||
@@ -35,11 +35,11 @@ x[o] - 从归档文件中分解文件
|
||||
@<file> - 从<file>读取选项
|
||||
--target=BFDNAME - 将目标对象格式指定为BFDNAME</code></pre>
|
||||
<p>选项参数</p>
|
||||
<pre><code>--plugin <p> - load the specified plugin</code></pre>
|
||||
<pre><code class="language-bash">--plugin <p> - load the specified plugin</code></pre>
|
||||
<p>ar:支持的目标: elf64-x86-64 elf32-i386 elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex</p>
|
||||
<h3 id="实例">实例</h3>
|
||||
<p>打包文件</p>
|
||||
<pre><code>[root@localhost ~]# ls //显示当前目录文件
|
||||
<pre><code class="language-bash">[root@localhost ~]# ls //显示当前目录文件
|
||||
a.c b.c d.c install.log qte
|
||||
anaconda-ks.cfg c.c Desktop
|
||||
|
||||
@@ -48,20 +48,20 @@ ar: 正在创建 one.bak
|
||||
a - a.c
|
||||
a - b.c</code></pre>
|
||||
<p>打包多个文件</p>
|
||||
<pre><code>[root@localhost ~]# ar rv two.bak *.c //打包以.c结尾的文件
|
||||
<pre><code class="language-bash">[root@localhost ~]# ar rv two.bak *.c //打包以.c结尾的文件
|
||||
ar: 正在创建 two.bak
|
||||
a - a.c
|
||||
a - b.c
|
||||
a - c.c
|
||||
a - d.c</code></pre>
|
||||
<p>显示打包文件的内容</p>
|
||||
<pre><code>[root@localhost ~]# ar t two.bak
|
||||
<pre><code class="language-bash">[root@localhost ~]# ar t two.bak
|
||||
a.c
|
||||
b.c
|
||||
c.c
|
||||
d.c</code></pre>
|
||||
<p>删除打包文件的成员文件</p>
|
||||
<pre><code>[root@localhost ~]# ar d two.bak a.c b.c c.c
|
||||
<pre><code class="language-bash">[root@localhost ~]# ar d two.bak a.c b.c c.c
|
||||
[root@localhost ~]# ar t two.bak
|
||||
d.c</code></pre>
|
||||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
|
||||
Reference in New Issue
Block a user