home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 November
/
VPR9811A.BIN
/
OLS
/
zip3j023
/
zip3j023.lzh
/
SDK
/
CMD_ZIP.TXT
< prev
next >
Wrap
Text File
|
1998-08-10
|
3KB
|
87 lines
#######################################################
ZIP32J.DLL Zip() APIのコマンド説明
Zip() Function command/option DESCRIPTION.
#######################################################
●はじめに
この文書ではZIP32J.DLLのZip() APIで用いるコマンドの簡単な説明を行います。
詳しくはInfo-ZIPのZIP2.2に付属のファイル「manual」も参照してください。
●簡単な説明
さしあたって
-r <archive file> <source file> ...
でディレクトリ付きで再帰的に圧縮できます。
他のオプションはあまりテストしていません。
「@FILENAME」によるレスポンスファイルの利用もできます。
●コマンドラインの形式
[-<option> [-<option> [...]]] <zipfile> [<base_directory_name>\] files ...
●オプション
-A Adjust self-extractiong executable archive.
(?)
-d Remove(delete) entries from a zip archive.
書庫内ファイルの削除
-D Do not create entries in the zip archive for directories.
ディレクトリ名を格納しない。
-e Encrypt the contents of the zip archive using a password.
暗号化を行う。
-f Freshen(replace) an existing entry in the zip archive
only if it has been modified more recently than the version
already in the zip archive.
ex) zip -f foo
書庫内のファイルの更新を行う
-F Fix
書庫の修復
-FF 書庫の修復(書庫サイズを信用しない)
-g Grow(append t) the specified zip archive.
-h Help
-j Junk the path.
パス名を保存しないでファイル名だけ保存
-J strip any prepended data(e.g. a SFX stub) from the archive.
自己解凍形式の書庫を普通の書庫にする。
-k attempt to convert the names and paths to conform to MSDOS.
ファイル名をMSDOS形式に変換する。
-l LF->CR LF変換(Unix->MSDOS)
-ll CR LF->LF変換(MSDOS->Unix)
-m Move the specified files into the zip archive;
-o set Oldest time
書庫内のファイルの最終更新時刻を一番新しいファイルの日時に変更
(引数はファイルのみ)
-q Quit mode.
メッセージを表示しない。
-r travel the directory structure Recursively
ex) zip -r foo foo
指定したディレクトリ/ファイルを再帰的に保存する。
-R travel the directory structure Recursively starting at the
current directory.
ex) zip -R foo *.c
カレントディレクトリ以下の構造でを再帰的に検索し保存する。
(*.cにマッチするもののみ保存する)
-S include System and hidden files.
システム属性/隠し属性のファイルも含める。
-t mmddyyyy do not operate on files modified prior to the specified
data.
ex) zip -rt 12071997 infamy foo
指定日時以降に修正されたファイルのみ操作を行う。
-tt mmddyyyy
指定日時より前に修正されたファイルのみ操作を行う
-u Updata(replace) an existing entry in the zip archive only if
it has been modified more recetntly than the version already
in the zip archive.
書庫内のファイルと最終更新日時の比較を行い新しいもののみ
置き換える。
-v Verbose mode or print diagnostic versio info.
メッセージを詳細表示
-X do not save extra file attributes(Extended Attributes on OS/2
,uid/gid and file times on Unix)
Unix,OS/2等で用いる(拡張)属性は保存しない。
-$ include the Volume label.
ボリュームラベルも保存
-#(0-9 number) Regulate the speed of compression.
圧縮率、スピードの設定。
(-0:圧縮しない/-1:一番速い(圧縮率最小)/-9:一番遅い(圧縮率最大))
デフォルトは-6