📜  tar extract - Shell-Bash 代码示例

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

代码示例6
tar -xvf file.tar etc/resolv.conf
tar -xzvf file.tar.gz etc/resolv.conf
tar -xjvf file.tar.bz2 etc/resolv.conf

#Extract files into a specific folder
tar -xf archive.tar.gz -C /home/linuxize/files