CHKZIP: check whether a file is a compressed archive

chkzip checks whether the file is a compressed archive and attempts to unpack it

Ahora está siguiendo esta publicación

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

Citar como

Andrew Davis (2026). CHKZIP: check whether a file is a compressed archive (https://la.mathworks.com/matlabcentral/fileexchange/36193-chkzip-check-whether-a-file-is-a-compressed-archive), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre File Compression en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0