Giter Club home page Giter Club logo

supergzip's Introduction

SuperGzip

Table of Contents

About

This is a command line tool for batch gunzip behavior using multithreading spread across multiple files matched by a user-provided glob pattern.

Getting Started

Head on over to the Releases section of the repository and download the appropriate version for your operating system. Unzip and use in a command line terminal at your own discretion.

Usage

General syntax is as follows:

super-gunzip <gzip | unzip> <glob pattern> [options]

Where current options are:

  • -h or --help: If this tag is present, the program will print the help message and exit.
  • -k or --keep_original: If this tag is present, the program will not attempt to remove the original file.
  • -n <number> or --num_threads <number>: The number of threads to split the workload across. It is the responsibility of the user to ensure that the number provided is reasonable. Defaults to 1.
  • -v or --verbose: If this tag is present, the program will print the name of each file as it is processed.

ℹī¸ Note: On Unix, the use of the wildcard * character will require the use of quotes to prevent the shell from expanding the pattern before it is passed to the program. On Windows, this is not necessary. See the examples below.

Examples

# Get more information about the tool
super-gunzip --help
super-gunzip gzip --help
super-gunzip unzip --help

# Unzip or gzip all files in an indicated directory
super-gunzip gzip "some/filepath/glob/pattern*"
super-gunzip unzip "some/filepath/glob/pattern*.gz"

# Utilize multithreading
super-gunzip gzip "some/filepath/glob/pattern*" --num-threads 12
super-gunzip unzip "some/filepath/glob/pattern*.gz" --num-threads 12

supergzip's People

Contributors

mauricepasternak avatar

Watchers

 avatar

Forkers

shivamb25

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.