linux打包與壓縮
1.打包命令
tar [-cxtf] 打包後的檔名 要打包的檔案或目錄
c --create 建立
x --extract 解壓
t --list 檢視
[root@oracle10g home]# tar cvf u02.tar u02 --把u02目錄打包到u02.tar
u02/
u02/a
2.壓縮與解壓
tar [cxtvfzj] 打包壓縮後的檔名 要壓縮的檔案各或目錄名
[root@oracle10g home]# tar cvfz u02.tar.gz u02 先打包再壓縮,呼叫gzip程式
u02/
u02/a
tar xvfz u02.tar.gz 解壓
tar [-cxtf] 打包後的檔名 要打包的檔案或目錄
c --create 建立
x --extract 解壓
t --list 檢視
[root@oracle10g home]# tar cvf u02.tar u02 --把u02目錄打包到u02.tar
u02/
u02/a
2.壓縮與解壓
tar [cxtvfzj] 打包壓縮後的檔名 要壓縮的檔案各或目錄名
[root@oracle10g home]# tar cvfz u02.tar.gz u02 先打包再壓縮,呼叫gzip程式
u02/
u02/a
tar xvfz u02.tar.gz 解壓
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26937943/viewspace-1786627/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux打包壓縮解壓工具Linux
- linux命令系列-zip(壓縮打包)Linux
- 打包/壓縮
- Linux 學習筆記--檔案打包與解壓縮Linux筆記
- Linux(四):Linux的打包和壓縮詳解Linux
- Linux tar分卷壓縮與解壓縮Linux
- Linux tar 打包 gz bz xz zip 壓縮Linux
- linux中常見的打包壓縮命令——tar、jarLinuxJAR
- Linux 常用的壓縮與解壓縮命令詳解Linux
- Linux 編譯安裝、壓縮打包、定時任務Linux編譯
- Linux下檔案的壓縮與解壓Linux
- linux 下壓縮與解壓資料夾Linux
- 檔案編輯、打包壓縮與查詢命令
- Linux壓縮解壓Linux
- Linux科研武器庫 - 檔案壓縮與解壓縮 - zip / unzipLinux
- linux下壓縮解壓縮命令Linux
- linux壓縮和解壓縮命令整理Linux
- Linux下對於檔案或者目錄的打包及壓縮、解壓Linux
- linux分卷壓縮解壓Linux
- Linux之壓縮Linux
- Linux中檔案的壓縮和解壓縮Linux
- 【Linux基礎】壓縮和解壓Linux
- Linux常用命令之檔案壓縮與解壓縮命令詳解Linux
- linux 高效壓縮工具之xz的壓縮解壓使用Linux
- Linux中打包和壓縮是什麼?兩者有何區別?Linux
- Linux 檔案壓縮Linux
- webpack4 css打包壓縮問題WebCSS
- linux檔案壓縮和解壓命令Linux
- linux下壓縮、解壓命令大全Linux
- Linux下的tar壓縮解壓縮命令詳解Linux
- Linux基於tar與openssl加密解密壓縮包Linux加密解密
- linux 下面壓縮、解壓.rar檔案Linux
- 告警壓縮與降噪
- 壓縮或解壓檔案用的Linux命令?linux開發入門與實戰Linux
- Linux下各壓縮方式測試(壓縮率和使用時間)Linux
- Nginx網路壓縮 CSS壓縮 圖片壓縮 JSON壓縮NginxCSSJSON
- 快速上手Linux核心命令(九):檔案備份與壓縮Linux
- linux系統壓縮,解壓檔案筆記Linux筆記
- linux常用壓縮解壓複製下載命令Linux