tar解压文件名带冒号的文件,需要加上–force-local。
否则,会报错:cannot connect to xx:resolve failed
原因:文件名含有冒号的文件,tar会认为是远端机器上的文件。
man tar如下:
–force-local
archive file is local even if it has a colon
tar解压文件名带冒号的文件,需要加上–force-local。
否则,会报错:cannot connect to xx:resolve failed
原因:文件名含有冒号的文件,tar会认为是远端机器上的文件。
man tar如下:
–force-local
archive file is local even if it has a colon