Add script to compress the html pages for embedding
parent
2e4ac82d15
commit
ad3b51eb97
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
for file in `ls *.html`; do
|
||||||
|
echo "Compressing: $file"
|
||||||
|
cp "$file" "copy_$file" && \
|
||||||
|
gzip -f "$file" && \
|
||||||
|
mv "copy_$file" "$file"
|
||||||
|
done
|
||||||
Loading…
Reference in New Issue