Snippets
#cli
Snippets tagged with "cli".
Snippets 4
- Saving man Pages to Text Files
How to save man command output to a file on macOS/Linux. Use col -b to remove control characters and create readable text.
- Generate parameter.json from a CloudFormation Template
A snippet that combines aws cloudformation validate-template and jq to automatically generate a parameters.json with environment variable overrides.
- gzip Command Cheat Sheet
A snippet covering the basic usage of the gzip command, including file compression, decompression, and option flags.
- Batch Convert Images to AVIF with avifenc
A Bash snippet that recursively scans jpg/jpeg/png files and converts them to .avif using avifenc.
hsb.horse