repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag '21.54.0' into develop
[gitter.git]
/
build-scripts
/
gzip-processed.sh
blob
61e0fceafe40829968663b708ca5da15cf9fa7c5
1
#!/bin/bash
2
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
)