master
Colin McMillen 4 years ago
parent
commit
b860201639
  1. 4
      Cookbook.md

4
Cookbook.md

@ -9,6 +9,10 @@
```shell
for file in $(git status --porcelain --untracked=all | cut -b 4- | grep "\.png$") ; do pngcrush -brute -ow $file; done
```
or with output showing size changes:
```shell
for file in $(git status --porcelain --untracked=all | cut -b 4- | grep "\.png$") ; do oldSize=$(ls -l $file | cut -d " " -f 5 ); pngcrush -q -brute -ow $file; newSize=$(ls -l $file | cut -d " " -f 5); echo "$file $oldSize -> $newSize"; done
```
* sizes of things in C#:
```

Loading…
Cancel
Save