Skip to content

sedataktas/bizip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bizip

Build Test

bizip is a command-line tool that allows users to unzip and combine zip files that are generated by Binalyze InterACT image command.

This tool is not for general-purpose zip file processing.

Installation

You can download the latest release of bizip from the releases section. Alternatively, you can install it from the source by running the following command in your terminal, if you are familiar with Go programming language.

go install github.com/binalyze/bizip/cmd/bizip@latest

Usage

After installing bizip, you can use it to unzip and combine zip files by running the following command in your terminal:

With Encryption (Unixes):

export PASSWORD="your_password"
./bizip --encrypted --unzip --input "inputs/image*.zip" --output output_file_path

Without Encryption (Unixes):

./bizip --unzip --input "inputs/image*.zip" --output output_file_path

With Encryption (Windows):

cmd.exe:

set PASSWORD=your_password
bizip.exe --encrypted --unzip --input "inputs\image*.zip" --output output_file_path

PowerShell:

$env:PASSWORD = 'your_password'
.\bizip.exe --encrypted --unzip --input "inputs\image*.zip" --output output_file_path

Without Encryption (Windows):

cmd.exe:

bizip.exe --unzip --input "inputs\image*.zip" --output output_file_path

PowerShell:

.\bizip.exe --unzip --input "inputs\image*.zip" --output output_file_path

Flags

  • --encrypted: If this flag is set, the input zip files are expected to be encrypted zip files. The password for decryption should be stored in the PASSWORD environment variable.
  • --unzip: If this flag is set, the output file will not be a zip file. If this flag is not set and the input zip files are encrypted, the output file will also be an encrypted zip file.
  • --input: The input zip files should be specified specified using the glob pattern. For example, "inputs/image*.zip" will match all files under inputs folder having image prefix with .zip file extension. Note that, matched files are sorted before processing.
  • --output: The output file path.

Help

To view a detailed help message, run the following command in your terminal:

./bizip --help

License

bizip is licensed under the Apache License.

About

bizip is a command-line tool that allows users to unzip and combine zip files that are outputs generated by Binalyze products.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%