Skip to content

Instantly share code, notes, and snippets.

@Ast3risk-ops
Last active February 25, 2025 01:46
Show Gist options
  • Select an option

  • Save Ast3risk-ops/59fc849399ef5dc8e94180cd48d58849 to your computer and use it in GitHub Desktop.

Select an option

Save Ast3risk-ops/59fc849399ef5dc8e94180cd48d58849 to your computer and use it in GitHub Desktop.
Small bzip2 compressor script I use when building a FastDL.
#!/bin/bash
for i in *.txt; do bzip2 -z "$i"; done
for i in *.bsp; do bzip2 -z "$i"; done
for i in *.nav; do bzip2 -z "$i"; done
for i in *.res; do bzip2 -z "$i"; done
for i in *.mp3; do bzip2 -z "$i"; done
for i in *.vmt; do bzip2 -z "$i"; done
for i in *.vtf; do bzip2 -z "$i"; done
for i in *.wav; do bzip2 -z "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment