This script provides an easy way to compress GIF files using gifsicle.
-
gifsicle must be installed on your system to use this script.
-
macOS users
brew install gifsicle
-
-
Download the
gif_comp.sh
script to your local machine. -
Give executable permissions to the script:
chmod +x gif_comp.sh
./gif_comp.sh <path to your gif file(s)>