start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/sh | |
| # script for optimizing images in a directory (recursive) | |
| # pngcrush & jpegtran settings from: | |
| # http://developer.yahoo.com/performance/rules.html#opt_images | |
| # pngcrush | |
| for png in `find $1 -iname "*.png"`; do | |
| echo "crushing $png ..." | |
| pngcrush -rem alla -reduce -brute "$png" temp.png |