Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

nbdkit-bzip2-filter - Man Page

decompress a .bz2 file

Synopsis

 nbdkit file --filter=bzip2 FILENAME.bz2

Description

nbdkit-bzip2-filter is a filter for nbdkit(1) which transparently decompresses a bzip2-compressed file.  You can place this filter on top of nbdkit-file-plugin(1) to decompress a local .bz2 file.

The filter only allows read-only connections.

To allow seeking this filter has to keep the contents of the complete uncompressed file, which it does in a hidden temporary file under $TMPDIR.

Parameters

There are no parameters specific to this filter.

Environment Variables

TMPDIR

Because the bzip2 format is not seekable, this filter has to store the complete contents of the compressed file in a temporary file located in /var/tmp by default.  You can override this location by setting the TMPDIR environment variable before starting nbdkit.

Files

$filterdir/nbdkit-bzip2-filter.so

The plugin.

Use nbdkit --dump-config to find the location of $filterdir.

Version

nbdkit-bzip2-filter first appeared in nbdkit ???.  It is derived from the nbdkit-gzip-filter which first appeared in nbdkit 1.22.

See Also

nbdkit-file-plugin(1), nbdkit-gzip-filter(1), nbdkit-tar-filter(1), nbdkit-xz-filter(1), nbdkit(1), nbdkit-plugin(3).

Authors

Georg Pfuetzenreuter Richard W.M. Jones

License

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Referenced By

nbdkit(1), nbdkit-filter(3), nbdkit-gzip-filter(1), nbdkit-xz-filter(1).

2024-07-14 nbdkit-1.39.10