Created
December 26, 2011 06:54
-
-
Save Robmaister/1520648 to your computer and use it in GitHub Desktop.
A small batch utility that pngcrushes all the .png files in the current directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
CLS | |
FOR /F "tokens=*" %%G IN ('dir /A:-D /b *.png') DO ( | |
MV %%G %%G.temp | |
pngcrush.exe %%G.temp %%G | |
DEL %%G.temp | |
) | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment