archivecontents(
archivecontents(
ARCHIVEFILE
)

The archivecontents( function lists contents of a compressed archive in .zip, .tar.gz or .tar.bz2 format.

Parameters

This function has one parameter:

archivefile – path and filename of archive file (may be absolute or database relative path).

Description

This function lists contents of a compressed archive in .zip, .tar.gz or .tar.bz2 format. If an archive contains multiple files, each will be listed on a separate line.

    archivecontents("~/Documents/Snapshot.zip") ☞ Flower.tiff

See Also

- compress
- uncompress

History

Version | Status | Notes
1.0 | New | New in this version.