/untar

Nim library for decompressing tar.gz files.

Primary LanguageNim

untar

This library does one and only one thing very well, it decompresses and extracts .tar.gz archives.

Installation

nimble install untar

Usage

import os
import untar

var file = newTarFile("file.tar.gz")
file.extract(getCurrentDir() / "extracted-files")

Dependencies

This package aims to have as few dependencies as possible. The zlib library is the only dependency.

On Windows the zlib library is linked statically!

License

MIT