?? 0240tarcompress.htm
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="zh-TW">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<meta name="Author" content="VBird, 鳥哥" >
<meta name="Description" content="對 Linux 檔案進行壓縮與打包的動作指令介紹" >
<title>鳥哥的 Linux 私房菜 -- Linux 的檔案壓縮與打包</title>
<style type="text/css">
body {
background-color: #D3D3D3;
color: #000000;
background-attachment:fixed ;
}
body,th,td,input,select,textarea,select,checkbox {
font-family: '新細明體', 'Times New Roman', serif;
font-size: 11pt ;
}
a:link {text-decoration: none; color: blue}
a:visited {text-decoration: none; color: blue}
a:active {text-decoration: none; color: blue}
a:hover {text-decoration: underline; color: #ff0000}
table.head1 {width:100%; background-color: #FFCCCC;
border-style:groove;border-width:5px;border-color: #FFCCCC; margin:0;
padding: 5px 5px}
td.head1 {font: 10pt "新細明體", serif; color: #000099; }
td.info1 {font: 11pt "新細明體", serif; color: #000066; text-align:center; width:14%}
td.info2 {font: 11pt "新細明體", serif; color: #000066; text-align:center; width:12%}
*.info21 {font: 11pt "新細明體", serif; color: #000066; }
*.info22 {font: 11pt "新細明體", serif; color: blue ; }
*.info23 {font: 11pt "新細明體", serif; color: green ; }
td.info3 {font: 11pt "新細明體", serif; color: #000066; text-align:justify}
*.text_head0 {font-size:18pt; font-family:'標楷體','Times New Roman','Times', serif; }
*.text_head_en {font-size:18pt; font-family:'Times New Roman','Times', serif; }
*.text_h1 {font: 15pt "新細明體", serif; color: #0000BB; font-weight: bold }
*.text_h2 {font: 13pt "新細明體", serif; color: #0000BB; font-weight: bold }
*.text_import1 {font: 11pt "新細明體", serif; color: #000088; font-weight: bold }
*.text_import2 {font: 11pt "新細明體", serif; color: #000088; font-weight: normal}
*.text_vbird {font: 11pt "新細明體", serif; color: #000088; font-weight: normal;
font-style: italic;}
*.text_history {font: 10pt "新細明體", serif; color: #000066; }
*.text_date {font: 10pt "新細明體", serif; color: #3333FF; }
*.block1 {padding: 10px 20px 10px 25px; text-align:left }
*.block2 {padding: 10px 0px 10px 25px; text-align:left }
table.term2 {width: 350px; background-color: #000000;
border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
table.term {width: 580px; background-color: #000000;
border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
td.term {font: 10pt "細明體", Fixedsys, serif; color: #FFFFFF; }
*.term_hd {font: 10pt "細明體", Fixedsys, serif; color: #BBBBBB; }
*.term_note {font: 10pt "細明體", Fixedsys, serif; color: #777777; font-weight: normal }
*.term_note_b {font: 10pt "細明體", Fixedsys, serif; color: #FF77FF; font-weight: bolder }
*.term_command {font: 10pt "細明體", Fixedsys, serif; color: yellow ; font-weight: bolder }
*.term_write {font: 10pt "細明體", Fixedsys, serif; color: yellow ; font-weight: normal }
*.term_say {font: 10pt "細明體", Fixedsys, serif; color: #FF6666; font-weight: normal }
</style>
</head>
<body style="margin:0; padding:0">
<center>
<!-- 這里是關于頁首按鈕處的按鈕程式 -->
<div style="text-align:center">
<span style="font-weight:bolder; color:#3333FF"><span class="text_head0">鳥哥的<span class="text_head_en">
Linux </span>私房菜</span></span><br />
<span style="color:#000080">為取得較佳瀏覽結果,請愛用 <a href="http://moztw.org" target="_blank">firefox</a>
瀏覽本網頁</span><br />
<a href="http://linux.vbird.org/" target="_blank"
onmouseover="document.head_icon1.src='../images/icon_VBird_on.jpg'"
onfocus="document.head_icon1.src='../images/icon_VBird_on.jpg'"
onmouseout="document.head_icon1.src='../images/icon_VBird_off.jpg'">
<img alt="前往鳥哥的 Linux 私房菜館首頁" title="前往鳥哥的 Linux 私房菜館首頁" name="head_icon1"
src="../images/icon_VBird_off.jpg" border="0" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_basic"
onmouseover="document.head_icon2.src='../images/icon_basic_on.jpg'"
onfocus="document.head_icon2.src='../images/icon_basic_on.jpg'"
onmouseout="document.head_icon2.src='../images/icon_basic_off.jpg'">
<img src="../images/icon_basic_off.jpg" border="0"
alt="前往 Linux 基礎文件,新手請從頭學起"
title="前往 Linux 基礎文件,新手請從頭學起" name="head_icon2" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_server"
onmouseover="document.head_icon3.src='../images/icon_server_on.jpg'"
onfocus="document.head_icon3.src='../images/icon_server_on.jpg'"
onmouseout="document.head_icon3.src='../images/icon_server_off.jpg'">
<img src="../images/icon_server_off.jpg" border="0"
alt="前往 Linux 架站文件,網路基礎那章節請務必參考!"
title="前往 Linux 架站文件,網路基礎那章節請務必參考!" name="head_icon3" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_security"
onmouseover="document.head_icon4.src='../images/icon_security_on.jpg'"
onfocus="document.head_icon4.src='../images/icon_security_on.jpg'"
onmouseout="document.head_icon4.src='../images/icon_security_off.jpg'">
<img src="../images/icon_security_off.jpg" border="0"
alt="前往『網路安全』相關文件網頁" title="前往『網路安全』相關文件網頁" name="head_icon4" /></a>
<a href="http://phorum.vbird.org" target="_blank"
onmouseover="document.head_icon5.src='../images/icon_forum_on.jpg'"
onfocus="document.head_icon5.src='../images/icon_forum_on.jpg'"
onmouseout="document.head_icon5.src='../images/icon_forum_off.jpg'">
<img src="../images/icon_forum_off.jpg" border="0"
alt="前往 Linux 新手討論區,發問前務必查閱發文規則"
title="前往 Linux 新手討論區,發問前務必查閱發文規則" name="head_icon5" /></a>
<a target="_blank" href="http://linux.vbird.org/adsl"
onmouseover="document.head_icon6.src='../images/icon_adsl_on.jpg'"
onfocus="document.head_icon6.src='../images/icon_adsl_on.jpg'"
onmouseout="document.head_icon6.src='../images/icon_adsl_off.jpg'">
<img src="../images/icon_adsl_off.jpg" border="0"
alt="前往『ADSL連線分享』相關文件網頁" title="前往『ADSL連線分享』相關文件網頁" name="head_icon6" /></a>
<a href="http://www.study-area.org" target="_blank"
onmouseover="document.head_icon7.src='../images/icon_study-area.jpg'"
onfocus="document.head_icon7.src='../images/icon_study-area.jpg'"
onmouseout="document.head_icon7.src='../images/icon_study-area.jpg'">
<img src="../images/icon_study-area.jpg" border="0"
alt="前往 Study Area 網站" title="前往 Study Area 網站" name="head_icon7" /></a>
<br />
</div>
<table summary="本文內容的排版" style="width:750px;
background-image:url('../images/VBirdLinux.jpg');
background-attachment:fixed;" border="0" cellspacing="0" cellpadding="0">
<tr><td style="width:16px; height:16px; background-image:url('../images/border-top-left.jpg');
font-size:6px"> </td>
<td style="width:718px; height:16px; font-size:6px;
background-image:url('../images/border-top-center.jpg')"> </td>
<td style="width:16px; height:16px; background-image:url('../images/border-top-right.jpg');
font-size:6px"> </td></tr>
<tr><td style="width:16px; font-size:6px;
background-image:url('../images/border-middle-left.jpg')"> </td>
<td width="718">
<!-- 本文的檔頭部分 -->
<div style="text-align:center">
<a href="0240tarcompress.php">
<span class="text_head0">檔案的壓縮與打包</span></a><br />
</div>
<div style="text-align:left">
<a href="0240tarcompress.php?thisscreen=800x600"><!--切換解析度為 800x600--></a>
</div>
<div style="text-align:right">
<span class="text_history">最近更新日期∶2005/08/29</span>
</div>
<!-- 本文的檔頭部分 -->
<table class="head1" summary="排版∶文章檔頭的說明"><tr><td class="head1">
在 Linux 底下有相當多的壓縮指令可以運作喔!這些壓縮指令可以讓我們更方便從網路上面下載大型的檔案呢!
此外,我們知道在 Linux 底下的附檔名是沒有什么很特殊的意義的,不過,針對這些壓縮指令所做出來的壓縮檔,
為了方便記憶,還是會有一些特殊的命名方式啦!就讓我們來看看吧!
</td></tr></table><br>
<!-- 本文的連結區部分 -->
<div class=block1>
<span class="text_h1">
1. <a href="#compress_tech">壓縮檔案的用途與技術∶</a><br>
2. <a href="#compress_name">Linux 系統常見的壓縮指令∶</a><br>
<span class=text_h2>
2.1 <a href="#compress">compress</a><br>
2.2 <a href="#gzip">gzip, zcat</a><br>
2.3 <a href="#bzip2">bzip2, bzcat</a><br>
2.4 <a href="#tar">tar</a><br>
2.5 <a href="#dd">dd</a><br>
2.6 <a href="#cpio">cpio</a><br>
</span>
3. <a href="#FAQ">本章習題練習</a><br>
<span class=text_h2>
4. <a href="http://phorum.vbird.org/viewtopic.php?t=23882"
target="_blank">針對本文的建議∶http://phorum.vbird.org/viewtopic.php?t=23882</a>
</span>
</span>
</div>
<!-- 本文的正式部分 -->
<hr><a NAME="compress_tech"></a><img src="images/penguin-m.gif" alt="大標題的圖示" height="34" width="25" align="middle" /><span class="text_h1">壓縮檔案的用途與技術∶</span><br>
<div class=block1>
您是否有過文件檔案太大,導致無法以一片軟碟將他復制完成的困擾?
又,您是否有過,發現一個軟體里面有好多檔案,這些檔案要將他復制與攜帶都很不方便的問題?
還有,您是否有過要備份某些重要資料,偏偏這些資料量太大了,耗掉了你很多的硬碟與磁碟空間呢?
這個時候,那個好用的『<span class=text_import2>檔案壓縮</span>』技術可就派的上用場了!
因為這些比較大型的檔案透過所謂的檔案壓縮技術之后,可以將他的磁碟使用量降低,
可以達到減低檔案容量的效果,此外,有的壓縮程式還可以進行容量限制,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -