Brotli recursive static compression

Apr 13, 2022

The brotli-cli lacks an -r flag for now, can be circumvented using the output of find and piping it into xargs.

find . -name "*.{file-extension}" -print0 | xargs -0 brotli -Z