Renameing / Adding Text To All Files In A Folder

This is a script I made up to help in my image processing needs. It takes all jpg files in the given folder and renames them so that _sm is at the end of all file names

Once you have the file saved, make it executable either using graphical tools or from a console
chmod +x the .sh extension tells the graphical enviroment that its a shell script

Copy this file into any directory with the jpg files in it. Double click the script file and select from the options that come up run in terminal.