Batch rename file extensions on linux / OS X
Here is a small script to to batch rename file extensions. for image in *.jpg; do imageBase=”`echo $image | awk -F’.’ ‘{ print $1 }’`”; mv $image $imageBase.png; done
An adventure begins with a farewell
Here is a small script to to batch rename file extensions. for image in *.jpg; do imageBase=”`echo $image | awk -F’.’ ‘{ print $1 }’`”; mv $image $imageBase.png; done