I'm in need of a bash shell script to
remove the extension *.bak from all files that contain the extension *.bak.
the file names are unknown.
the following commands strip the extension from the filename:
cp filename outfile
will change one file, I need a way of changing multiple files that have unknow filenames. Probably need to use ls somehow. does anyone know the shell commands to do this?