- 论坛徽章:
- 1
|
改路径untar?
Usage: /usr/local/bin/untar [options] archive.tgz [filename] ...
or: /usr/local/bin/untar [options] -d filename.gz ...
Options: -t Test -- list contents but don't extract
-f Force -- allow existing files to be overwritten
-q Quiet -- suppress the normal chatter
-v Verbose -- output extra information about each file
-p Path -- allow absolute pathnames (don't strip leading '/')
-c Convert -- convert files to local text format
-d Decompress -- perform "gunzip" but not "tar x"
-n No-name -- with "-d", ignore original name in gzip header
This program lists/extracts files from a "*.tar" or "*.tgz" archive. You can
optionally specify certain files or directories to list/extract; otherwise it
will list/extract them all. File attributes are preserved, and linked files
will be restored as links. This program can also be used (with -d) to gunzip
non-tar files.
THIS PROGRAM IS IN THE PUBLIC DOMAIN, AND IS FREELY REDISTRIBUTABLE.
Report bugs to kirkenda@cs.pdx.edu |
|