Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support processing bzip compressed files #40

Open
jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Open

support processing bzip compressed files #40

jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Labels
enhancement New feature or request file parser P0 most important

Comments

@jtmoon79
Copy link
Owner

jtmoon79 commented Oct 7, 2022

Support processing .bz and .bz2 files; both compressed by bzip2.

Such compression is rarely used for log files common on Mac OS and other BSD.

The good news: IIUC, bzip only compresses one file to one compressed file.
From Wikipedia

It is not an archiver like tar or ZIP; the program itself has no facilities for multiple files, encryption or archive-splitting

Hopefully this "one file to one file" compression means bzip is easier than gz and xz support in that there is no need for hacks to handle/workaround "multiple streams" (see Issue #11 , Issue #8 ).


Rust crates available:

  • bzip2_rs
    bzip2_rs is a pure Rust bzip2 decoder.
  • bzip2
    This library contains bindings to libbz2 to support bzip compression and decompression for Rust.
  • bzip2_sys
    Does not look ready for consumption.
@jtmoon79 jtmoon79 added enhancement New feature or request good first issue Good for newcomers labels Oct 7, 2022
@jtmoon79 jtmoon79 added file parser P0 most important and removed good first issue Good for newcomers labels Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request file parser P0 most important
Projects
None yet
Development

No branches or pull requests

1 participant