# install
yum install libjpeg
cd /tmp
mkdir jpegoptim
cd jpegoptim
wget http://www.kokkonen.net/tjko/src/jpegoptim-1.4.3.tar.gz
zcat jpegoptim-1.4.3.tar.gz | tar xf -
cd jpegoptim-1.4.3
./configure
make
make strip
make install
# recursive use
find / -iregex '.*\.\(jpg\|JPG\|jpeg\|JPG\)' -type f -exec /usr/local/bin/jpegoptim {} ';'
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.