Simple bash script that resize jpg images in a folder to desired size