xz 解壓縮命令,老是忘記


.tar.xz的解壓命令
$ xz -d ***.tar.xz
$ tar -xvf ***.tar
 
 
或者
$ tar xvJf ***.tar.xz

 

tar -zxvf a.tar.gz
tar -zxvf a.tgz
tar -zxvf a.gz
tar -Jxvf a.tar.xz
tar -jxvf a.bz2

bunzip2 linux-2-4-2.tar.bz2 生成 linux-2-4-2.tar 
tar xvf linux-2-4-2.tar

1、*.tartar –xvf 解壓
2、*.gz 用 gzip -d或者gunzip 解壓
3、*.tar.gz和*.tgz 用 tar –xzf 解壓
4、*.bz2 用 bzip2 -d或者用bunzip2 解壓
5、*.tar.bz2用tar –xjf 解壓
6、*.Z 用 uncompress 解壓
7、*.tar.Z 用tar –xZf 解壓
8、*.rar 用 unrar e解壓
9、*.zipunzip 解壓
tar

  -j, --bzip2                filter the archive through bzip2
  -J, --xz                   filter the archive through xz
      --lzip                 filter the archive through lzip
      --lzma                 filter the archive through lzma
      --lzop
      --no-auto-compress     do not use archive suffix to determine the
                             compression program
  -z, --gzip, --gunzip, --ungzip   filter the archive through gzip
  -Z, --compress, --uncompress   filter the archive through compress

  -v, --verbose              verbosely list files processed

  -x, --extract, --get       extract files from an archive

  -A, --catenate, --concatenate   append tar files to an archive
  -c, --create               create a new archive

https://www.cnblogs.com/Sabre/p/10365395.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM