由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to creat .tar.gz?
相关主题
请教怎样使用tar压文件how to contral tar-ed file size?
[转载] Why gzip, compress won't work for RM file?急问: *.tgz 文件怎么解?
how to compress several file under unix再次急问: *.tgz 文件怎么解?
*.ps.gz??关于tar的愚昧问题
How to gzip a directory directly ? 请教: how to view content of jar file in unix ?
Question about bzip2what is the command to gunzip/tar a .tar.gz file
[转载] Re: cxterm 就是好!一个很丢人的问题
如何解压*.tar.bz2文件?请教![转载] .tgz 文件用什么命令展开?
相关话题的讨论汇总
话题: creat话题: tar话题: gzip话题: gnu话题: subdictory
进入Unix版参与讨论
1 (共1页)
y***z
发帖数: 1
1
How to creat compress several files with subdictory into a file using
tar and gzip?
Thanks!
a****y
发帖数: 1035
2
tar cf - | gzip -c >xxx.tar.gz

【在 y***z 的大作中提到】
: How to creat compress several files with subdictory into a file using
: tar and gzip?
: Thanks!

q*****m
发帖数: 73
3
Only tar is enough:
tar -cvzf mydir.tar.gz mydir

【在 y***z 的大作中提到】
: How to creat compress several files with subdictory into a file using
: tar and gzip?
: Thanks!

p**h
发帖数: 99
4
if I want to add the option '-9' when using gzip, what is the equivalent
command with tar?

【在 q*****m 的大作中提到】
: Only tar is enough:
: tar -cvzf mydir.tar.gz mydir

t****n
发帖数: 1347
5
That is GNU tar, not traditional tar.

【在 q*****m 的大作中提到】
: Only tar is enough:
: tar -cvzf mydir.tar.gz mydir

q*****m
发帖数: 73
6
Good question.. but I don't know. The tar manual claims
tar -z leads to better compression, don't know the
detailes.

【在 p**h 的大作中提到】
: if I want to add the option '-9' when using gzip, what is the equivalent
: command with tar?

q*****m
发帖数: 73
7
he has gzip, and I assume he has gnu tar.
(assume you know gzip is gnu zip)

【在 t****n 的大作中提到】
: That is GNU tar, not traditional tar.
c*****t
发帖数: 1879
8
hmm,
GNU is Not Unix... So better stick with general solutions.

【在 q*****m 的大作中提到】
: Good question.. but I don't know. The tar manual claims
: tar -z leads to better compression, don't know the
: detailes.

1 (共1页)
进入Unix版参与讨论
相关主题
[转载] .tgz 文件用什么命令展开?How to gzip a directory directly ?
格式问题Question about bzip2
how to use gzip at Solaris2.6?\[转载] Re: cxterm 就是好!
Solaris 下如何对付大文件如何解压*.tar.bz2文件?请教!
请教怎样使用tar压文件how to contral tar-ed file size?
[转载] Why gzip, compress won't work for RM file?急问: *.tgz 文件怎么解?
how to compress several file under unix再次急问: *.tgz 文件怎么解?
*.ps.gz??关于tar的愚昧问题
相关话题的讨论汇总
话题: creat话题: tar话题: gzip话题: gnu话题: subdictory