📜  提取 tar.gz ubuntu 终端 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:34.200000             🧑  作者: Mango

代码示例5
cd ~/Downloads/archive.tar.gz #first navigate to file location
tar -xzvf archive.tar.gz -C /path/to/new/directory/ 
#-C flag will change the extraction to a new directory.
#remove -C if you want to extract it to current location.