#!/usr/bin/env sh

while read file
do
	gzip -9 $file
	touch $file
done << EOF
$(find $1 ! -name *.gz -type f)
EOF

