This is the trivial-extract Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:54:47 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-extractExtract .tar/.tar.gz/.zip files.
Fernando Borretti <eudoxiahp@gmail.com>
Fernando Borretti <eudoxiahp@gmail.com>
(GIT git@github.com:eudoxia0/trivial-extract.git)
MIT
# trivial-extract
[](https://travis-ci.org/eudoxia0/trivial-extract)
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.
~~~lisp
;; 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.
0.1
archive (system).
zip (system).
deflate (system).
which (system).
cl-fad (system).
uiop (system).
alexandria (system).
src (module).
Modules are listed depth-first from the system components tree.
trivial-extract/srctrivial-extract (system).
cl.lisp (file).
native.lisp (file).
trivial-extract.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-extract/trivial-extract.asdtrivial-extract/src/cl.lisptrivial-extract/src/native.lisptrivial-extract/src/trivial-extract.lisptrivial-extract/trivial-extract.asdtrivial-extract (system).
trivial-extract/src/cl.lispsrc (module).
extract-gzip (function).
extract-tar (function).
extract-zip (function).
gunzip (function).
trivial-extract/src/native.lispsrc (module).
extract-gzip (function).
extract-tar (function).
extract-zip (function).
trivial-extract/src/trivial-extract.lispsrc (module).
extract (function).
extract-gzip (function).
extract-tar (function).
extract-zip (function).
try-except (macro).
Packages are listed by definition order.
trivial-extractcommon-lisp.
extract (function).
extract-gzip (function).
extract-tar (function).
extract-zip (function).
try-except (macro).
trivial-extract.clPure Common Lisp extraction.
common-lisp.
extract-gzip (function).
extract-tar (function).
extract-zip (function).
gunzip (function).
trivial-extract.nativeDecompression using native command line utilities.
common-lisp.
extract-gzip (function).
extract-tar (function).
extract-zip (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Best-effort extraction.
Extract a .tar.gz file to its containing directory.
Extract a .tar.gz file to its containing directory.
Extract a .tar.gz file to its containing directory.
Extract a tarball to its containing directory.
Extract a tarball to its containing directory.
Extract a tarball to its containing directory.
Extract a .zip file to its containing directory.
Extract a .zip file to its containing directory.
Extract a .zip file to its containing directory.
| Jump to: | E F G M T | 
|---|
| Jump to: | E F G M T | 
|---|
| Jump to: | C F M N P S T | 
|---|
| Jump to: | C F M N P S T | 
|---|