I am looking to gzip multiple files (into multiple .gz files) in a directory while keeping the originals.
I can do individual files using these commands:
Your > in the last command gets parsed by the same shell which runs find. Use a nested shell:
>
find
find . -type f -name "*cache.html" -exec sh -c "gzip < {} > {}.gz" \;