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
- Host: GitHub
- URL: https://github.com/pedroalbanese/bzip2
- Owner: pedroalbanese
- License: isc
- Created: 2021-10-30T20:22:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-01T23:05:29.000Z (about 1 year ago)
- Last Synced: 2025-06-02T09:15:03.405Z (about 1 year ago)
- Topics: bzip2
- Language: Go
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# bzip2(2)
[](https://github.com/pedroalbanese/bzip2/blob/master/LICENSE.md)
[](https://github.com/pedroalbanese/bzip2/releases)
[](http://godoc.org/github.com/pedroalbanese/bzip2)
[](https://goreportcard.com/report/github.com/pedroalbanese/bzip2)
[](https://golang.org)
[](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.