slanla's website

隨便寫寫一些東西…

slanla's website

主要選單

跳至主要內容
  • 首頁

文章導覽

← 上一篇 下一篇 →

tar壓縮/解壓縮

發佈日期: 2017/12/14 作者: slanla

壓縮path:

tar zcvf output.tar.gz path

# 使用變數
D=dir1 && tar zcvf ${D}.tar.gz ${D}

解壓縮目前的資料夾:

tar zxvf input.tar.gz
文章短網址: https://slanla.com/__j4usdk
分類: bash、linux,標籤: bash、gz、tar,作者: slanla。這篇內容的永久連結。
本站採用 WordPress 建置