8 lines
161 B
Bash
8 lines
161 B
Bash
|
#!/bin/bash
|
||
|
for file in `ls *.html`; do
|
||
|
echo "Compressing: $file"
|
||
|
cp "$file" "copy_$file" && \
|
||
|
gzip -f "$file" && \
|
||
|
mv "copy_$file" "$file"
|
||
|
done
|