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
- Host: GitHub
- URL: https://github.com/mrfearless/snappy
- Owner: mrfearless
- Created: 2017-12-11T15:33:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T19:58:40.000Z (over 6 years ago)
- Last Synced: 2025-04-06T12:37:04.548Z (6 months ago)
- Topics: compression, decompression, masm, snappy, uasm, win32, zlib
- Language: Assembly
- Size: 77.1 KB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#  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)