Adding search directory

This commit is contained in:
2020-03-18 14:24:11 +01:00
parent aa1c0f1544
commit 20dc277145

View File

@@ -36,9 +36,9 @@ _git_push() {
} }
# PROGRAM # PROGRAM
find -type f -name "*.png" -exec optipng -quiet -nc -nb -o7 {} \; find . -type f -name "*.jpg" -exec jpegoptim {} \;
find -type f -name "*.jpg" -exec jpegoptim {} \; find . -type f -name "*.jpeg" -exec jpegoptim {} \;
find -type f -name "*.jpeg" -exec jpegoptim {} \; find . -type f -name "*.png" -exec optipng -nc -nb -o7 {} \;
# To keep runtime good, just continue if something was changed # To keep runtime good, just continue if something was changed
if _git_changed; if _git_changed;