tar解壓報錯——Not found in archive tar: Exiting with failure status due to previous errors

代码你敲我不敲發表於2024-04-21

tar解壓報錯——Not found in archive

[root@master software]# tar -xzf scala-2.11.8.tgz  /usr/local/
tar: /usr/local: Not found in archive
tar: Exiting with failure status due to previous errors   //當前路徑下找不到指定的路徑——沒有加上-C引數指定路徑
[root@master software]# tar -xzf scala-2.11.8.tgz  -C /usr/local/
[root@master software]# 

相關文章