Resizing images with Bash
If the files have the extension .JPG #!/bin/bash for i in *.JPG; do convert $i -resize 10% $(basename $i .JPG).JPG; […]
If the files have the extension .JPG #!/bin/bash for i in *.JPG; do convert $i -resize 10% $(basename $i .JPG).JPG; […]
How to replace a string in multiple files at once? When there are files in one directory: perl -pi -e