QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 915|回复: 3

newbie: Why can't use tar -cvfz ???

[复制链接]
发表于 2002-11-13 07:53:50 | 显示全部楼层 |阅读模式
I type following:

     tar -cvfz pack.tar.gz test.txt test1.txt

then Linux report:

     tar: pack.tar.gz:cannot stat:no such file or directory
     test.txt
     test1.txt
     tar:error exit delayed form previous errors.

why??!! I'm sure I have those file under my working diretory.
where is error I make??
发表于 2002-11-13 09:01:03 | 显示全部楼层
try to use tar cvzf
回复

使用道具 举报

 楼主| 发表于 2002-11-13 13:10:09 | 显示全部楼层
well ,thanks ,everything is ok.
but,what distinction between "tar -czfv"and "tar czfv"??
回复

使用道具 举报

发表于 2002-11-13 16:53:29 | 显示全部楼层
tar doesn't need '-' and 'f' must be the last parameter which means 'file'.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-26 23:25 , Processed in 0.045754 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表