mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-29 10:36:48 +02:00
14 lines
288 B
Bash
Executable file
14 lines
288 B
Bash
Executable file
#!/bin/zsh
|
|
# Copyright muflax <mail@muflax.com>, 2012
|
|
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
|
|
|
|
setopt RE_MATCH_PCRE
|
|
|
|
echo "compressing 'out'..."
|
|
|
|
for f in out/**/*(.); do
|
|
if [[ $f =~ "\.(html|css|xml|js)$" ]]; then
|
|
gzip --best -f -v -c "$f" > "$f.gz"
|
|
fi
|
|
done
|