红联Linux门户
Linux帮助

linux下tar命令遇到error:"Error exit delayed from previous e

发布时间:2016-03-05 15:25:21来源:linux网站作者:田攀

用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"后,就不会遇到那个错误了。


本文永久更新地址:http://www.linuxdiyf.com/linux/18645.html