Browse files

Added png -> jpg conversion script.

  • Loading branch information...
1 parent b64abff commit 3bc33e0b61fa3db34fe0c82dcd4db8cbf1eb997d @julianwa committed Apr 4, 2011
Showing with 7 additions and 0 deletions.
  1. +3 −0 convertAllToJpg
  2. +4 −0 convertToJpg
View
3 convertAllToJpg
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+find $1 -name "*.png" | xargs -I % ./convertToJpg %
View
4 convertToJpg
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+convert $1 `dirname $1`/`basename $1 .png`.jpg
+rm $1

0 comments on commit 3bc33e0

Please sign in to comment.