aix 6.1 tar: 0511-169 A directory checksum error
gunzip -c db_**.gz | tar -xvf -
x tech_st/11.1.0/.patch_storage/7277741_Nov_18_2008_15_03_52/original_patch/files/lib/libgeneric11.a
tar: 0511-169 A directory checksum error on media; 805314872 not equal to 14716.
---區別----------
# tar -zxvf apps.xx.tar.gz
tar: Not a recognized flag: z
# which tar
/usr/bin/tar
# tar -help
tar: Not a recognized flag: e
Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRUsvwZ ] [ -Number ] [ -f TarFil e ]
[ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
[ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ...
Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
[ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
[ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...
---區別----------
# tar --help
GNU `tar' saves many files together into a single tape or disk archive, and
can restore individual files from the archive.
Usage: tar [OPTION]... [FILE]...
If a long option shows an argument as mandatory, then it is mandatory
for the equivalent short option also. Similarly for optional arguments.
Main operation mode:
-t, --list list the contents of an archive
-x, --extract, --get extract files from an archive
-c, --create create a new archive
-d, --diff, --compare find differences between archive and file system
-r, --append append files to the end of an archive
-u, --update only append files newer than copy in archive
-A, --catenate append tar files to an archive
--concatenate same as -A
--delete delete from the archive (not on mag tapes!)
Operation modifiers:
-W, --verify attempt to verify the archive after writing it
--remove-files remove files after adding them to the archive
-k, --keep-old-files don't overwrite existing files when extracting
-U, --unlink-first remove each file prior to extracting over it
--recursive-unlink empty hierarchies prior to extracting directory
-S, --sparse handle sparse files efficiently
-O, --to-stdout extract files to standard output
-G, --incremental handle old GNU-format incremental backup
-g, --listed-incremental handle new GNU-format incremental backup
--ignore-failed-read do not exit with nonzero on unreadable files
Handling of file attributes:
--owner=NAME force NAME as owner for added files
--group=NAME force NAME as group for added files
--mode=CHANGES force (symbolic) mode CHANGES for added files
--atime-preserve don't change access times on dumped files
-m, --modification-time don't extract file modified time
--same-owner try extracting files with the same ownership
--numeric-owner always use numbers for user/group names
-p, --same-permissions extract all protection information
--preserve-permissions same as -p
-s, --same-order sort names to extract to match archive
--preserve-order same as -s
--preserve same as both -p and -s
Device selection and switching:
-f, --file=ARCHIVE use archive file or device ARCHIVE
--force-local archive file is local even if has a colon
--rsh-command=COMMAND use remote COMMAND instead of rsh
-[0-7][lmh] specify drive and density
-M, --multi-volume create/list/extract multi-volume archive
-L, --tape-length=NUM change tape after writing NUM x 1024 bytes
-F, --info-script=FILE run script at end of each tape (implies -M)
--new-volume-script=FILE same as -F FILE
--volno-file=FILE use/update the volume number in FILE
Device blocking:
-b, --blocking-factor=BLOCKS BLOCKS x 512 bytes per record
--record-size=SIZE SIZE bytes per record, multiple of 512
-i, --ignore-zeros ignore zeroed blocks in archive (means EOF)
-B, --read-full-records reblock as we read (for 4.2BSD pipes)
Archive format selection:
-V, --label=NAME create archive with volume name NAME
PATTERN at list/extract time, a globbing PATTERN
-o, --old-archive, --portability write a V7 format archive
--posix write a POSIX conformant archive
-z, --gzip, --ungzip filter the archive through gzip
-Z, --compress, --uncompress filter the archive through compress
--use-compress-program=PROG filter through PROG (must accept -d)
Local file selection:
-C, --directory=DIR change to directory DIR
-T, --files-from=NAME get names to extract or create from file NAME
--null -T reads null-terminated names, disable -C
--exclude=PATTERN exclude files, given as a globbing PATTERN
-X, --exclude-from=FILE exclude globbing patterns listed in FILE
-P, --absolute-names don't strip leading `/'s from file names
-h, --dereference dump instead the files symlinks point to
--no-recursion avoid descending automatically in directories
-l, --one-file-system stay in local file system when creating archive
-K, --starting-file=NAME begin at file NAME in the archive
-N, --newer=DATE only store files newer than DATE
--newer-mtime compare date and time when data changed only
--after-date=DATE same as -N
--backup[=CONTROL] backup before removal, choose version control
--suffix=SUFFIX backup before removel, override usual suffix
Informative output:
--help print this help, then exit
--version print tar program version number, then exit
-v, --verbose verbosely list files processed
--checkpoint print directory names while reading the archive
--totals print total bytes written while creating archive
-R, --block-number show block number within archive with each message
-w, --interactive ask for confirmation for every action
--confirmation same as -w
The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.
The version control may be set with --backup or VERSION_CONTROL, values are:
t, numbered make numbered backups
nil, existing numbered if numbered backups exist, simple otherwise
never, simple always make simple backups
GNU tar cannot read nor produce `--posix' archives. If POSIXLY_CORRECT
is set in the environment, GNU extensions are disallowed with `--posix'.
Support for POSIX is only partially implemented, don't count on it yet.
ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE; and FILE may be a file
or a device. *This* `tar' defaults to `-f- -b20'.
Report bugs to
-解決方法-安裝GNUTar支援ZIP功能--
# export PATH=/usr/local/bin:$PATH
# tar -zxvf apps.0428.tar.gz
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/678020/viewspace-1049846/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX 6.1 snmp監控AI
- tar:tape read errorError
- [ERROR] Slave I/O: Replication event checksum Error_code: 1743Error
- aix命令_gzip_tar連用AI
- AIX6.1效能最佳化AI
- AIX上解壓縮.tar.Z, .tar.gz, .zip及.tgzAI
- Error: parent directory is world writable but not stickyError
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- tar: Error exit delayed from previous errorsError
- aix 6.1 ORA-04030 問題AI
- ORA-27300 For AIX6.1AI
- AIX 6.1 靜默安裝11.1.0.6AI
- error log about AIXErrorAI
- AIX6.1下安裝及配置VNCAIVNC
- Aix6.1 安裝 Bash Shell環境AI
- aix6.1上安裝oracle 10.2.0.1AIOracle
- AIX 5.3 和6.1 VMO 引數對比AI
- aix 6.1上rac升級到10.2.0.4AI
- STEP BY STEP INSTALL SSH ON AIX5.3(6.1)AI
- aix 6.1 安裝gcc,遇到“BUILTIN”錯誤AIGCUI
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- 解決IDEA Error:Output directory is not specifiedIdeaError
- AIX 6.1中文字符集安裝AI
- /usr/sbin/lsattr -El aio0 Returns "lsattr: 0514-519" Error On AIX 6.1_806200.1AIError
- 11GR2'S ONE ERROR "NI cryptographic checksum mismatch error: 12599."Error
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- AIX6.1下 Oracle 10g的安裝AIOracle 10g
- AIX 6.1安裝apache報no acceptable C compiler foundAIApacheCompile
- oracle 11g expdb autoextend tablespace and create directory error;OracleError
- AIX 6.1 Oracle11g 11.2.0.4 RAC 安裝心得AIOracle
- Aix 6.1下安裝Oracle11g詳細文件AIOracle
- AIX 6.1下改變域名解析順序(DNS, LOCAL)AIDNS
- ORACLE及OS相關監控指令碼 For AIX6.1Oracle指令碼AI
- 通過AIX 6.1 作業系統管理員認證AI作業系統
- xtrabackup:error:streaming incremental backups are incompatible with the tarErrorREM
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop