/ Published in: Bash
Expand |
Embed | Plain Text
find . -name "*.jpg" -print | while read ORIGINAL_FILE do TARGET_FILE=$(echo "$ORIGINAL_FILE" | sed -e 's/\.jpg$/\.gif/') gm convert "$ORIGINAL_FILE" "$TARGET_FILE" done
Comments
Subscribe to comments
You need to login to post a comment.

For Jean-Luc