Tuesday, August 31, 2010

why i love linux

question: why do you love linux?
answer: because it make my job easy

i'm so so so love linux when i need to resize and rotate 250+ picture :>

#!/usr/bin/env ruby

for i in (1..272)

    `convert Untitled-#{i.to_s}.jpg -resize 2121x1500 -rotate 270 oki-doki/Untitled-#{i.to_s}.jpg`


only 3 lines make it for you.. 'll love it forever :))

No comments:

Post a Comment