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壓縮解壓打包解包Linux
- 打包/壓縮
- 檔案打包與解壓縮
- linux命令系列-zip(壓縮打包)Linux
- Linux命令 tar 打包解壓縮Linux
- Linux下檔案的壓縮與打包詳解Linux
- Linux 學習筆記--檔案打包與解壓縮Linux筆記
- Linux tar分卷壓縮與解壓縮Linux
- tar的打包-壓縮與解壓縮,並解壓到指定的目錄
- linux下檔案打包、壓縮詳解Linux
- Linux(四):Linux的打包和壓縮詳解Linux
- Linux下常用壓縮格式的壓縮與解壓方法Linux
- linux中常見的打包壓縮命令——tar、jarLinuxJAR
- Linux 常用的壓縮與解壓縮命令詳解Linux
- 檔案的壓縮與解壓縮zz--linuxLinux
- linux壓縮解壓縮Linux
- 檔案編輯、打包壓縮與查詢命令
- Linux各種壓縮與解壓方法Linux
- Linux下常用壓縮格式的壓縮與解壓方法---轉載Linux
- linxu 打包壓縮分割功能
- Linux中檔案的壓縮與解壓縮(轉貼)Linux
- linux的tar命令詳情;linux多個檔案壓縮打包到一個壓縮檔案Linux
- linux壓縮和解壓縮命令Linux
- unix和linux下常用壓縮格式的壓縮與解壓方法(轉)Linux
- Linux備份與壓縮命令Linux
- Linux下檔案的壓縮與解壓Linux
- linux 下壓縮與解壓資料夾Linux
- Linux 編譯安裝、壓縮打包、定時任務Linux編譯
- Linux 下拷貝目錄及打包壓縮拷貝Linux
- aix 下壓縮與解壓縮AI
- AIX 上壓縮與解壓縮AI
- linux下壓縮解壓縮命令Linux
- linux壓縮和解壓縮命令整理Linux
- Linux壓縮及解壓縮命令Linux
- linux壓縮和解壓縮命令大全Linux
- Linux下對於檔案或者目錄的打包及壓縮、解壓Linux
- Linux壓縮解壓Linux