cr-unzip

Version, currently main branch1 version
  • main branchlatestJan 12, 2022

github.com/DRVTiny/cr-unzip

Simply unzip, fast as lightning!

5 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cr-unzip:
    github: DRVTiny/cr-unzip
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Andrey A. Konovalov
Target
  • cr-unzip from src/cr-unzip.cr

Dependencies

Runtime Dependencies

  • app_name*github: DRVTiny/app_name

README

cr-unzip

Possibly fastest unzip tool in the world.

Written in Crystal.

Installation

Use bin/cr-unzip (copy it somewhere in your $PATH).

Or, if it does not work for you, - install latest Crystal compiler according to instructions you may found at https://crystal-lang.org/install/

Than

cd cr-unzip
shards install
crystal build -Dpreview_mt --release src/cr-unzip.cr -o bin/cr-unzip

Usage

cr-unzip 
	[-p JOB_DISTR_POLICY] [-n N_FIBERS] [-d TARGET_DIR] zip_file_path
		or
	-h
-p, --policy qu[eue] | eq[ual]
	Use the specified job distribution policy: queued or equal(-sized)
-d, --destination TARGET_PATH
	Specify target directory for unpack. By default zip file will be unpacked to the current working directory
-x	Turn on debug output
-h	Show help message

Contributing

  1. Fork it (https://github.com/DRVTiny/cr-unzip/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors