Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

doing free site for family friend

Name: Anonymous 2012-06-01 0:44

And they're being really cheeky and getting me to do loads of crap. Redirect to meatspin on them? I control the server and site. >:(

Name: !L33tUKZj5I 2012-06-01 22:28

>>15
I am very much in my cups tonight, but I'd imagine that if you learned to use the linux command convert
http://linux.about.com/od/commands/l/blcmdl1_convert.htm

and used a little awk to write a loop involving feeding the filenames in and relevent thumbnails, you could automate it all.
http://www.math.utah.edu/docs/info/gawk_6.html

If I were you, I'd spend the an hour or two going over that ad learning something, instead of resizing the images by hand.

I am drunk, and high, but I've come up with a little of the script for you.

ls *.jpg| awk '{print "-size 120x120 "$1"-resize 120x120 +profile i/'*/' "$1"_small.jpg"}';

this takes all the jpgs in that directory, and gives the commands you need to feed into the convert program for each one.

now go learn how to parse commands from files to get it to do it all at once for you...

http://www.math.utah.edu/docs/info/gawk_6.html

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List