code snippets

How to use OptiPNG recursively

Few hours ago I wrote about image optimization with Jpegoptim. Now I'll write few words about Optipng, a PNG and GIF optimizer. OptiPNG is a PNG optimizer that re-compresses image files to a smaller size, without losing any information. This...

How to use Jpegoptim recursively

Jpegoptim is a Linux software that does what the name suggests: is does optimize jpg images. It is one of the two recommended software for Google Pagespeed optimization.As this software doesn't have a recursion parameter, we use a trick...

Chmod files and directories recursively

Chmod directories recursively: find . -type d -exec chmod 755 {} ; Chmod files recursively: find . -type f -exec chmod 644 {} ;
- Advertisement -spot_img

Latest News

- Advertisement -spot_img