Skip to content

Instantly share code, notes, and snippets.

@potix2
Created December 12, 2011 23:29
Show Gist options
  • Save potix2/1469648 to your computer and use it in GitHub Desktop.
Save potix2/1469648 to your computer and use it in GitHub Desktop.
#!/bin/sh
SRCDIR="resized/"
DESTDIR="resized/"
cd $SRCDIR;
for FILE in `ls *.jpg`;
do
echo $FILE
convert $FILE -channel R -separate $FILE
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment