Module archives

Source
Expand description

§Archives utilities

A toolbox of small utilities that extract files from archives. Useful for retrieving files from various types of archives like tar, tar.gz, zip.

Enums§

ArchiveType

Statics§

GZ_SIGNATURE
ZIP_SIGNATURE

Functions§

archive_extract_all
Entry Point: Extract all contents from the provided archive into the selected destination directory The destination directory will be created if not already available It detects if it is a compressed archive using the magic numbers from: https://www.garykessler.net/library/file_sigs.html
archive_extract_file
Entry Point: Extract the selected file from the provided archive into the selected destination directory It detects if it is a compressed archive using the magic numbers from: https://www.garykessler.net/library/file_sigs.html