我正在尝试制作焦油球并抛出错误,
persis1@takwa228-DEV $ tar -pcrvzf ALPHA.tar.gz https-ALPHA
tar: You may not specify more than one `-Acdtrux' or `--test-label' option
Try `tar --help' or `tar --usage' for more information.
Run Code Online (Sandbox Code Playgroud)
正如消息所说,你不能组合c
and r
; 前者表示“创建存档”,后者表示“附加到存档”,因此它们不能同时使用。
你可以简单地做
tar cpvzf ALPHA.tar.gz https-ALPHA
Run Code Online (Sandbox Code Playgroud)