📜  tar 存档中的列表文件 - Shell-Bash 代码示例

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

代码示例2
#List file in tar archive without extracting  (with various compression formats) 
tar -tvf archive.tar
tar -ztvf archive.tar.gz
tar -jtvf archive.tar.bz2
tar -Jtvf archive.tar.xz