Batch conversion of jpg files to png

January 23rd, 2007

Make use of bash substring removal

$ for i in *.jpg; do j=${i%.jpg}.png; convert $i $j; done

This - ${i%.jpg} strips the trailing “.jpg” substring from variable i

Need more? Advanced Bash-Scripting Guide

Retrieving column metadata with DBIx::Class

January 22nd, 2007

svn repository backup

January 4th, 2007

Using ifrename for consistent naming of network interfaces

December 6th, 2006