Skip to content

Instantly share code, notes, and snippets.

View magec's full-sized avatar

Jose Fernández magec

View GitHub Profile
@magec
magec / gist:957033
Created May 5, 2011 13:37
Onliners
To convert from iphone 2x to normal recursivelly
for i in `find ./ find ./ -regex '.*2x\.[jpg|png]+'`; do convert -resize 50% $i `dirname $i`/`basename "$i"|sed s/@2x//`; done