docs.daveops.net

Snippets for yer computer needs

Compression

gzip

# Keep original file intact
gzip -c thing > thing.gz

xz

# compress file
xz -z file
# decompress file
xz -d file

zstandard