Find all files in the current directory with the extensions .jpg, .gif, or .png and move them to a file with the same name but with the extension .bak.
find . -maxdepth 1 -type f -name "*.{jpg,gif,png}" -exec mv {} {}.bak \;