设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客

开源打包工具:Tar 1.24 发布

2010-10-25 16:08| 发布者: walkerxk| 查看: 1837| 评论: 0|来自: OSMSG

摘要: Linux/Unix 下打包工具 tar 1.24 发布。 Tar 1.24 特性: The --full-time optionMore reliable directory traversal when creating archives--dereference consistencyExtracts symlink attributes, such as last- ...

Linux/Unix 下打包工具 tar 1.24 发布。

Tar 1.24 特性:

  • The --full-time option
  • More reliable directory traversal when creating archives
  • --dereference consistency
  • Extracts symlink attributes, such as last-modified time and link permissions, if the operating system supports this
  • Fixed spurious error diagnostics on broken pipe
  • Fixed --remove-files bug (previous version would fail to remove a directory which contained symlinks to another files within that directory)
  • Accepts the --label option used together with --update
  • The options --record-size and --tape-length (-L) accept size suffixes
  • Fixed dead loop on extracting existing symlinks with the -k option

Tar 命令:

[语法]:

  • tar -c[vwfbL] [设备] [块] 文件…
  • tar -r[vwfbL] [设备] [块] 文件…
  • tar -t[vfL] [设备] [文件...]
  • tar -u[vwfbL] [设备] [块] 文件…
  • tar -x[lmovwfL] [设备] [文件...]

命令参数:

  • r 附加方式归档
  • x 抽取文件
  • t 显示文件
  • u 附加方式归档,同时删除旧版文件
  • c 建立新档案文件
  • v 显示所处理的文件名
  • w 处理文件前,要求用户确认
  • f 文件名 使用指定文件名作为档案文件
  • bn 每次读写 n 块,缺省值为1,最大值为20
  • m 将新的文件修改时间设为获取时的时间
  • o 获取出来的文件以下达tar指令的UID和GID存储

[例子]:

  • tar cvf file.tar *
  • tar tvf file.tar

查看发布公告

点击进入 Tar 项目主页


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部