Skip to content

pedroalbanese/bzip2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bzip2(2)

ISC License GitHub downloads GoDoc Go Report Card GitHub go.mod Go version GitHub release (latest by date)

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.

About

Bzip2 Compression Tool written in Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages