CHKZIP: check whether a file is a compressed archive

バージョン 1.0.0.0 (1.55 KB) 作成者: Andrew Davis
chkzip checks whether the file is a compressed archive and attempts to unpack it
ダウンロード: 164
更新 2012/4/16

ライセンスの表示

CHKZIP check whether file is a compressed archive

chkzip checks whether the passed file has one of the following
extensions: gz, zip, tar, tgz, tar.gz. If it does, chkzip
attempts to unpack the archive into a temporary location,
which is platform-dependent.

Usage:
[result, tmpFile] = chkzip(fileName)

fileName: file to be checked
result: number of files unpacked from compressed file,
or 0 if file extension was not recognized
tmpFile: full path to first extracted file if
unpacking was performed, otherwise returns
original filename

See also: GZIP, ZIP, TAR

引用

Andrew Davis (2024). CHKZIP: check whether a file is a compressed archive (https://www.mathworks.com/matlabcentral/fileexchange/36193-chkzip-check-whether-a-file-is-a-compressed-archive), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFile Compression についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0