GithubHelp home page GithubHelp logo

sedataktas / bizip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binalyze/bizip

0.0 0.0 0.0 25 KB

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

License: Apache License 2.0

Go 100.00%

bizip's Introduction

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.

bizip's People

Contributors

ermanimer avatar ozanh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.