Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
183 B

  1. #!/bin/bash
  2. for f in $(find ./ -name '*.jpg' -or -name '*.JPG');
  3. do jpegoptim --size=500k $f;
  4. done
  5. for f in $(find ./ -name '*.png' -or -name '*.PNG');
  6. do optipng $f;
  7. done