Skip to content

Commit

Permalink
q is for quality
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan P.C. McQuen committed Oct 17, 2014
1 parent dc70638 commit 4d6447a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imgult
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
## (slackware already has jpegtran,
## although it will check for the mozjpeg version)

Q=90
q=90

read -p "Would you like to BACKUP the original files? [y/N]: " response
case $response in
Expand Down Expand Up @@ -43,7 +43,7 @@ else
find . -name "*.jpeg" -type f -exec jpegtran -verbose -outfile {} {} \;
fi

find . -name "*.jpg" -type f -exec jpegoptim -m$Q {} \;
find . -name "*.jpeg" -type f -exec jpegoptim -m$Q {} \;
find . -name "*.jpg" -type f -exec jpegoptim -m$q {} \;
find . -name "*.jpeg" -type f -exec jpegoptim -m$q {} \;
find . -name "*.png" -type f -exec optipng {} \;

0 comments on commit 4d6447a

Please sign in to comment.