Skip to content

eudoxia0/trivial-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trivial-extract

Build Status

You have an archive. Maybe it's a .tar, or a .tar.gz, or .zip. You don't know and don't care. You want its contents out.

When available, trivial-extract uses the native decompression utilities (e.g. tar, unzip), which are usually faster than the Common Lisp versions.

Usage

Contents are extracted to the file's containing directory. All functions return t on success.

;; Best effort, do what I mean
(trivial-extract:extract #p"~/path/to/file.{tar|tar.gz|zip}")

;; Content-specific
(trivial-extract:extract-tar #p"~/file.tar")
(trivial-extract:extract-gzip #p"~/file.tar.gz")
(trivial-extract:extract-zip #p"~/file.zip")

License

Copyright (c) 2014-2015 Fernando Borretti (eudoxiahp@gmail.com)

Licensed under the MIT License.

About

Extract compressed files painlessly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published