Merge tag '21.54.0' into develop
[gitter.git] / build-scripts / gzip-processed.sh
blob61e0fceafe40829968663b708ca5da15cf9fa7c5
1 #!/bin/bash
3 while IFS= read -r -d $'\0' file; do
4 cp -p "$file" "${file}.gztmp"
5 gzip --best "$file"
6 mv "${file}.gztmp" "$file"
7 done < <(find public-processed -type f ! -iname ".*" ! -iname "*.gz" ! -iname "*.png" ! -iname "*.jpg" ! -iname "*.gif" -print0)