服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Linux - linux下tar命令遇到error:"Error exit delayed from previous errors"的问题及解决

linux下tar命令遇到error:"Error exit delayed from previous errors"的问题及解决

2019-12-27 17:28pan_tian Linux

linux下tar命令遇到error:"Error exit delayed from previous errors"的问题

linux下tar命令遇到error:"Error exit delayed from previous errors"的问题

用tar命令(tar -cvfz src.tar.gz src)去压缩一个目录,

遇到错误"Error exit delayed from previous errors"

原因选项"f" 表示The archive file name is given on the command

line (required whenever the tar output is going to a file),

f后边需要跟压缩文件的名字。

所以把tar命令从"tar -cvfz src.tar.gz src"改成"tar -czvf src.tar.gz src"后,

就不会遇到那个错误了。

延伸 · 阅读

精彩推荐