GithubHelp home page GithubHelp logo

moz-sec / unicom Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.69 MB

unicom is Universal Compressor.

Home Page: https://moz-sec.com/unicom/

License: MIT License

Rust 96.18% Dockerfile 3.82%
cli command-line rust tool compression

unicom's Introduction

unicom

Lang MIT License Rust Report Card Coverage Status DOI

unicom is Universal Compressor.

Description

Currently, there are different methods of compressing files, and for each format, a unique tool is used. However, each tool has different commands and options, making it difficult to use. Therefore, unicom makes it possible to handle various compression formats in a unified interface.

Usage

The following is the unicom help output.

unicom is Universal Compressor

Usage: unicom [OPTIONS] <ARCHIVE_FILE> <FILES>...

Arguments:
  <ARCHIVE_FILE>  Compressed filename
  <FILES>...      Target files name

Options:
  -d, --decompress       Whether to decompress the input
  -e, --encrypt          Put passwords on compressed files
  -f, --format <FORMAT>  [default: zip] [possible values: gzip, zip]
  -r, --recursive        Whether to recursively greet
  -v, --verbose          Verbose mode
  -c, --count <COUNT>    Number of compressions to perform [default: 6]
  -h, --help             Print help
  -V, --version          Print version

Installation

There are several installation methods.

From Source

To build the project from source, you need to have Rust installed.

git clone https://github.com/moz-sec/unicom.git && cd unicom
cargo build --release
./target/release/unicom --help

Releases Binaries

Binaries can be downloaded from the Releases section of this repository. Download and extract the binaries according to your environment.

wget unicom-{version}_{architecture}.tar.gz
tar -zxvf unicom-{version}_{architecture}.tar.gz

Homebrew (Recommended)

If you are on a Mac, you can also install it using brew.

brew install moz-sec/tap/unicom

Docker

You can also use the Docker image. unicom's docker repository is here. Put the path containing the files or directories you want to compress in {Host Volume Path}. Mount the container in "/workdir". The compressed file will be created in the {Host Volume Path}. Specify {unicom arguments} for the unicom command.

docker run -it -v {Host Volume Path}:/workdir --rm ghcr.io/moz-sec/unicom:latest {unicom arguments}

Maintainers

License

MIT

unicom's People

Contributors

moz-sec avatar

Watchers

 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.