This script optimize images Larger than 60KB in current directory and sub-directories.
Default Compression is 70%
Default File Type is jpg
Example Usage :
/bin/bash smushme.sh -c 70 -f jpg
OPTIONS:
-h Show this message
-f File Type
-c Compression rate in Percentage
-d Use default options
-v Verbose
NOTE: image magic needs to be installed for this script to work