还不太会用tar分段压缩,我是用split分割的,
代码: 全选
# split -b 1m RX.chm rx
# ls -la
total 74452
drwxr-xr-x 2 root wheel 512 Dec 22 10:44 .
drwxr-xr-x 14 root wheel 512 Dec 22 10:15 ..
-rw-r--r-- 1 root wheel 18896642 Aug 30 2009 RX.chm
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxaa
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxab
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxac
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxad
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxae
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxaf
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxag
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxah
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxai
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxaj
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxak
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxal
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxam
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxan
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxao
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxap
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxaq
-rw-r--r-- 1 root wheel 1048576 Dec 22 10:44 rxar
-rw-r--r-- 1 root wheel 22274 Dec 22 10:44 rxas
合并请用cat命令:
代码: 全选
# cat rx* > rx.chm
# ls -la
total 111412
drwxr-xr-x 2 root wheel 512 Dec 22 10:47 .
drwxr-xr-x 14 root wheel 512 Dec 22 10:15 ..
-rw-r--r-- 1 root wheel 18896642 Aug 30 2009 RX.chm
-rw-r--r-- 1 root wheel 18896642 Dec 22 10:47 rx.chm
......
#