parent
eec22d64e4
commit
b860201639
@ -9,6 +9,10 @@
|
|||||||
```shell
|
```shell
|
||||||
for file in $(git status --porcelain --untracked=all | cut -b 4- | grep "\.png$") ; do pngcrush -brute -ow $file; done
|
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#:
|
* sizes of things in C#:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user