Subject: pngcrush all .png files in the directory

From: miniker84 <@pixy>
Date: Tue, 22 Sep 2015 01:10:16 -1000

<http://feedproxy.google.com/~r/Command-line-fu/~3/KBMBLIC_m8U/pngcrush-all-.png-files-in-the-directory>

$ find . -iname '*png' -exec pngcrush -ow -brute $line {} {}.crush \;

Find all pngs in directory structure and pngcrush them, none 
destructive. You can just remove the "{}.crush" part if you want 
destructive.

- View this command to comment, vote or add to favourites[1]
- View all commands by *miniker84*[2]

[A][3]

Diff your entire server config at ScriptRock.com[4][B]

[1] 
http://www.commandlinefu.com/commands/view/14712/pngcrush-all-.png-files-in-the-directory
[2] http://www.commandlinefu.com/commands/by/miniker84
[3] http://www.commandlinefu.com
[4] 
http://www.scriptrock.com?utm_campaign=clfu&utm_medium=clfu%20api%20rss&utm_source=clfu

[A] http://www.commandlinefu.com/images/small-logo.jpg
[B] http://feeds.feedburner.com/~r/Command-line-fu/~4/KBMBLIC_m8U
-- 
Feed: All commands
<http://www.commandlinefu.com/commands/browse/rss>
Item: pngcrush all .png files in the directory
<http://feedproxy.google.com/~r/Command-line-fu/~3/KBMBLIC_m8U/pngcrush-all-.png-files-in-the-directory>
Date: Tue Sep 22 01:10:16 -1000 2015
Author: miniker84