So I am using amazon to serve a few files.
I want to gzip these files before I upload them
first I copy templates into a new folder
cp -r templates/ templatesGZIP
then I GZIP that folder
gzip -r templatesGZIP
the problem is that this adds .gz to all the file names. so for example homeTemplate.html changes to homeTemplate.html.gz
is there any way when running gzip -r templatesGZIP that I state I want to keep the extensions the same
Thanks
Dan