Linux linux 运行tar命令可能出现的错误

linux 运行tar命令可能出现的错误

tar中option中记得一定要加f,Cowardly refusing to create an empty archive(拒绝创建一个空的归档文档)You must specify one of the `-Acdtrux' or `--test-label' options(你必须制定一个-Acdtrux或者--test-label选项)test:...

tar中option中记得一定要加f,

 

Cowardly refusing to create an empty archive(拒绝创建一个空的归档文档)

You must specify one of the `-Acdtrux' or `--test-label'  options(你必须制定一个-Acdtrux或者--test-label选项)

test: -tf: unary operator expected(希望一元的操作符,应该是test命名的写法是这样的 test -n 参数)

 

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

这个文件不是归档文件,因为上面的原因失败退出

 

 

 

 

转载于:https://blog.51cto.com/gzzjsoft/1025874

Logo

更多推荐

  • 浏览量 3633
  • 收藏 0
  • 0

所有评论(0)

查看更多评论 
已为社区贡献4条内容