Giter Club home page Giter Club logo

snappy's Introduction

Snappy

Windows command line compression/decompression tool based on Google's snappy library - written in assembler

Snappy is designed and programmed by fearless (C) Copyright 2017 and uses static builds of Google's Snappy compression/decompression library https://google.github.io/snappy/.

Usage

Snappy [ /? | -? ]
Snappy [ switch | command ] [ <infile> [ <outfile> ] ]
Snappy [ switch | command ] <filespec>
Snappy [ switch | command ] <folder>

Switches:

  • /? | -? - Displays snappy help usage.

  • /c | -c - Switch to set mode of operation to compression.

  • /d | -d - Switch to set mode of operation to decompression.

Commands:

  • c - Command to set mode of operation to compression.

  • d - Command to set mode of operation to decompression.

Parameters:

  • <infile>- The name of an existing filename to compress/decompress.

  • <outfile> - The the name of a filename to compress/decompress <infile> to. If no <outfile> is provided, filename is determined by mode, see notes.

  • <filespec> - A set of files to compress/decompress, which supports the use of the wildcards * and ? for specifying which files to include.

  • <folder> - A folder to compress/decompress all files contained within and assumes the use of <folder\*.*> for processing file operations.

Notes:

  • <filespec> and <folder> do not support an <outfile> parameter.

  • If no compress/decompress mode is specified via switches or commands, then the mode of operation is determined by filename of the <infile>, a .sz extension indicates mode is decompress, otherwise it is compress.

  • If no <outfile> is provided, then <outfile> filename is determined by mode and based on the <infile> filename. Compression mode adds a .sz extension and decompression mode removes any .sz extension.

  • Snappy.exe can be renamed to snsnap.exe or snzip.exe to set the default mode to compression. Snappy.exe can be renamed to snunsnap.exe or snunzip.exe to set the default mode to decompress.

  • The default modes can be overridden by providing switches or commands. Switches and commands are not case sensitive.

Build

Compiling the Snappy tool requires the following static library dependencies:

snappy's People

Contributors

mrfearless avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.