An open API service indexing awesome lists of open source software.

https://github.com/pedroalbanese/bzip2

Bzip2 Compression Tool written in Go
https://github.com/pedroalbanese/bzip2

bzip2

Last synced: 10 days ago
JSON representation

Bzip2 Compression Tool written in Go

Awesome Lists containing this project

README

          

# bzip2(2)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/bzip2/blob/master/LICENSE.md)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/bzip2/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/bzip2/releases)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/bzip2?status.png)](http://godoc.org/github.com/pedroalbanese/bzip2)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/bzip2)](https://goreportcard.com/report/github.com/pedroalbanese/bzip2)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/bzip2)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/bzip2)](https://github.com/pedroalbanese/bzip2/releases)
### Bzip2 Compression Tool for modern multi-core machines

Usage: bzip2 [OPTION]... [FILE]...

Compress or uncompress FILEs (by default, compress FILEs in-place).

-1, --fast
set block size to 100k
-2 set block size to 200k
-3 set block size to 300k
-4 set block size to 400k
-5 set block size to 500k
-6 set block size to 600k
-7 set block size to 700k
-8 set block size to 800k
-9, --best
set block size to 900k (default)
-c, --stdout
write on standard output, keep original files unchanged
--cores int
number of cores to use for parallelization
-d, --decompress
decompress; see also -c and -k
-f, --force
force overwrite of output file
-h, --help
print this help message
-k, --keep
keep original files unchanged
-l int
compression level (1 = fastest, 9 = best) (default 9)
-r, --recursive
operate recursively on directories
-s string
use provided suffix on compressed files (default "bz2")
-t, --test
test compressed file integrity
-v, --verbose
be verbose
-z, --compress
compress file(s) (default true)

With no FILE, or when FILE is -, read standard input.

## License

This project is licensed under the ISC License.

##### Copyright (c) 2020-2025 ALBANESE Research Lab & Projeto Pindorama.