digital adj. Having digits.     peer n. A comrade; a companion; a fellow; an associate. a.k.a. GEEKED    
   
Recent Articles
Ottawa Linux Symposium 2008
Sunday, July 27, 2008
Here are some pictures from the 2008 Linux Symposium.
Linux Symposium 2008
Sunday, July 20, 2008
I'll be attending the Linux Symposium this year.
Clay Shirky: Institutions vs. collaboration
Monday, July 14, 2008
This is a rather interesting talk that takes some very foundational ideas from open source software development, P2P networks, and social networking and implies that these paradigms can apply to a lot more.
Fremont Street
Sunday, July 29, 2007
Remote Control Dragonfly
Sunday, July 29, 2007
Videos
Sunday, July 29, 2007
Assortment of videos.
Honda CBR F4 Carburetor Cleaning
Monday, July 23, 2007
Details on how to clean F4 carburetors.
Honda CBR F4 Custom Camera Mount
Monday, July 23, 2007
How I made a custom camera mount for my CBR.

See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard, too.
- Linus Torvalds

Projects-Misc Scripts-Batch Resize...

Batch Resize Image Script

Tuesday, May 10, 2005 by digitalpeer

#!/bin/sh

for file in *.JPG 
do 
	echo "Resizing file $file ..."
	convert -resize 640x480 $file $file 
done

Comment Friday, August 5, 2005 by  anonymous
Great. Nice and easy. Thanks. I added quotes to fix spaces in filenames:
convert -resize 640x480 "$file" "$file"
Comment Tuesday, January 16, 2007 by  RJ
Never knew convert command existed. I have LOTS of images to be reduced in size. Thanks cause you lead me to the convert.
Comment Tuesday, August 14, 2007 by  by rince
Hi, thanks for this script...
Is it possible to just convert one file in het current directory, instead of *.JPG?

I'm kinda new at this... i would like to use it as convert script for xfce's Thunar (custom actions)

thx
Comment Friday, September 21, 2007 by  luziy
whoaaa command not found
Comment Saturday, May 31, 2008 by  anonymous
well, it only works if convert is installed on your system...

Submit Comment to This Article
Please post a comment if you have something to add, find something wrong, or would like more information on the topic at hand. Do not use the comment form to contact the author about unrelated concerns!

Name: Email (optional):
Enter verification number here: