An open API service indexing awesome lists of open source software.

https://github.com/mrfearless/snappy

Windows command line compression/decompression tool based on Google's snappy library - written in assembler
https://github.com/mrfearless/snappy

compression decompression masm snappy uasm win32 zlib

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# ![](./assets/Snappy.png) 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 ] [ [ ] ]
Snappy [ switch | command ]
Snappy [ switch | command ]
```

#### 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:

- ``- The name of an existing filename to compress/decompress.

- `` - The the name of a filename to compress/decompress `` to. If no `` is provided, filename is determined by mode, see notes.
- `` - A set of files to compress/decompress, which supports the use of the wildcards `*` and `?` for specifying which files to include.
- `` - A folder to compress/decompress all files contained within and assumes the use of `` for processing file operations.

#### Notes:

- `` and `` do not support an `` parameter.

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

- If no `` is provided, then `` filename is determined by mode and based on the `` 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:

- Console x86 library - [https://github.com/mrfearless/libraries/tree/master/Console/Console x86](https://github.com/mrfearless/libraries/tree/master/Console/Console%20x86)
- Snappy x86 library - [https://github.com/mrfearless/libraries/tree/master/Snappy/Snappy x86](https://github.com/mrfearless/libraries/tree/master/Snappy/Snappy%20x86)