Digby/README.md

30 lines
1012 B
Markdown
Raw Permalink Normal View History

2021-01-06 23:45:43 +00:00
# Digby: The multi-compression application.
This is an application that allows you to compress to multiple compression systems all in one application.
# Building:
run `go build main.go` and you're done!
# Usage:
Here's an example on how to run it.
```
./Digby -file file.ext -comp zstd -path /home/kiiwii -lvl 22
```
`-file` is required -- tells Digby what file you want to compress.
2021-01-07 04:14:13 +00:00
`-comp` is required -- tells Digby what compression algorithm you want to use (see [Supported Compression Systems](#supported-compression-systems))
2021-01-07 04:14:13 +00:00
`-path` is optional -- tells Digby where to save the compressed file. If not specified it will save to the working directory.
2021-01-07 04:14:13 +00:00
`-lvl` is optional -- tells Digby what level of compression to use. Only works when `-comp` is set to zstd. (If not specified it will default to level 5)
2021-01-06 23:45:43 +00:00
# Supported Compression Systems:
- gzip
- zlib
- zstd
2021-01-06 23:45:43 +00:00
# TODO:
- [x] Have command line arguments
2021-01-06 23:45:43 +00:00
- [ ] Support things such a `*` for selecting multiple files
- [ ] Support compressing a folder