我是靠谱客的博主 可靠缘分,最近开发中收集的这篇文章主要介绍AIX pax 相对路径解压,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

pax 压缩大于8G的文档,tar只能压缩<8G的,pax替换路径,-s:^/:./:g 变为相对路径

AIX Version 7
Copyright IBM Corporation, 1982, 2012.
login: tuxedo2
tuxedo2's Password:
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 7.1!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last unsuccessful login: Tue May  6 00:51:36 CST 2014 on /dev/pts/7 from 192.168.234.65
Last login: Tue May  6 00:52:07 CST 2014 on /dev/pts/7 from 192.168.234.65

$ pwd
/tuxedo2
$ ls -al tuxedo*
-rwxr-xr-x    1 tuxedo2  tuxedo    190494720 May 05 22:07 tuxedo20140429.tar
$ pax -s:^/:./:g -rf *.tar
$ ls -al tuxedo*
-rwxr-xr-x    1 tuxedo2  tuxedo    190494720 May 05 22:07 tuxedo20140429.tar

tuxedo:
total 232
drwxr-xr-x   15 tuxedo2  tuxedo         4096 Jun 08 2013  .
drwxr-xr-x   16 tuxedo2  tuxedo         4096 May 06 04:42 ..
-rw-r--r--    1 tuxedo2  tuxedo         1185 Aug 04 2006  README
-rw-r--r--    1 tuxedo2  tuxedo          265 Sep 14 2006  ULOG.091306
drwxr-xr-x    2 tuxedo2  tuxedo          256 Sep 14 2006  bea
drwxr-xr-x    2 tuxedo2  tuxedo        12288 Aug 04 2006  bin
drwxr-xr-x    2 tuxedo2  tuxedo         4096 Sep 14 2006  cobinclude
drwxr-xr-x    4 tuxedo2  tuxedo          256 Sep 14 2006  help
drwxr-xr-x    5 tuxedo2  tuxedo         4096 Aug 04 2006  include
-r-xr-xr--    1 tuxedo2  tuxedo        35516 Aug 04 2006  install
drwxr-xr-x    3 tuxedo2  tuxedo          256 Sep 14 2006  jdk131
drwxr-xr-x    2 tuxedo2  tuxedo         4096 Aug 04 2006  lib
drwxr-xr-x    5 tuxedo2  tuxedo          256 Aug 04 2006  locale
drwxr-xr-x    2 tuxedo2  tuxedo          256 Sep 14 2006  logs
drwxr-xr-x    2 tuxedo2  tuxedo          256 Sep 14 2006  lost+found
-rw-r--r--    1 tuxedo2  tuxedo          482 Sep 14 2006  registry.xml
drwxr-xr-x    5 tuxedo2  tuxedo          256 Aug 04 2006  samples
-rw-r--r--    1 tuxedo2  tuxedo          463 Oct 21 2006  tux.env
drwxr-xr-x    7 tuxedo2  tuxedo         4096 Sep 14 2006  udataobj
-r-xr-xr--    1 tuxedo2  tuxedo        25446 Aug 04 2006  uninstall
drwxr-xr-x    3 tuxedo2  tuxedo          256 Sep 14 2006  uninstaller

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29619999/viewspace-1154295/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29619999/viewspace-1154295/

最后

以上就是可靠缘分为你收集整理的AIX pax 相对路径解压的全部内容,希望文章能够帮你解决AIX pax 相对路径解压所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(32)

评论列表共有 0 条评论

立即
投稿
返回
顶部