% cp file1 file9<RET>
% ls -l<RET>
total 2
-rw-r--r-- 1 t98000tf 56078 Feb 11 14:16 file1
-rw-r--r-- 1 t98000tf 56078 Feb 11 14:16 file9
% gzip -1 file1<RET>
% gzip -9 file9<RET>
% ls -l<RET>
total 2
-rw-r--r-- 1 t98000tf 20440 Feb 11 14:16 file1.gz
-rw-r--r-- 1 t98000tf 17046 Feb 11 14:16 file9.gz
% gzip -d file1.gz file9.gz<RET>
% ls<RET>
file1 file9
% _
ファイル容量が使用制限に近いかあるいはそれを超えている場合にgzip
コマンドを実行すると,新しく生成される圧縮ファイルを書き込むファイル空
間がないために,元のファイルも圧縮されたファイルも消えてしまうことがあ
るので注意すること.
% lha a public_html.lzh public_html<RET>
public_html/12.01.html - Frozen(52%) o
public_html/12.02.html - Frozen(47%) o
public_html/index.shtml - Frozen(40%) o
% ls -l<RET>
drwxr-xr-x 2 t98000tf 512 Mar 5 12:26 public_html/
-rw-r--r-- 1 t98000tf 754029 Mar 5 12:20 public_html.lzh
% lha l public_html.lzh<RET>
PERMSSN UID GID SIZE RATIO STAMP NAME
---------- ----------- ------- ------ ------------ --------------------
drwxr-xr-x 28000/80 0 ****** Mar 5 12:26 public_html/
-rw-r--r-- 28000/80 2486 52.9% Mar 5 12:24 public_html/12.01.html
-rw-r--r-- 28000/80 5899 47.7% Mar 5 12:24 public_html/12.02.html
-rw-r--r-- 28000/80 2136 40.7% Mar 5 12:24 public_html/index.html
---------- ----------- ------- ------ ------------ --------------------
Total 4 files 10521 47.5% Mar 5 12:26
% lha x public_html.lzh<RET>
public_html/12.01.html - Melted : o
public_html/12.02.html - Melted : o
public_html/index.shtml - Melted : o
% _