2012-08-16から1日間の記事一覧
to_half (){ for file in * do echo $file width=`sips --getProperty pixelWidth $file | sed -E "s/.*pixelWidth: ([0-9]+)/\1/g" | tail -1` width=`expr $width / 2` newFile=`echo $file | sed 's/@2x//'` srcAbspath=$(cd $(dirname "$file") && pwd)/…