Linux 版 (精华区)

发信人: netiscpu (网中鸟~~倒计时), 信区: Linux
标  题: [转载] tar 的用法
发信站: 紫 丁 香 (Wed Jun  2 22:05:09 1999), 转信

【 以下文字转载自 Unix 讨论区 】
【 原文由 : 所发表 】
tar是unix乃之dos等os常用 的打包及解压工具.
if you want to tar some documents. use it as followed;
        tar -cvf target.tar sourcefile_or_directory
if you want to untar some documents use it as followed:
        tar -xvf target.tar
if you wnat to untar some compress files(*.tar.gz) you can use it as followed:
        tar -zxvf target.tar.gz
addtional. tar surport *.tar.gz ,*.tar,and so on.
example tar -zxvf *.tar.gz 将解开当前目录下的所有以.tar.gz结尾的文件.

--
※ Origin:·紫 丁 香 pclinux·[FROM: 202.118.224.51]
--
※ 转载:.紫 丁 香 bbs.hit.edu.cn.[FROM: dns.mtlab.hit.ed]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.782毫秒