If the first part of the file names is always the same you can easily change them by means of
rename. Beware that rename comes in two different flavours, mostly depending on your Linux distribution:
Code:
rename MVSTP MVSTQ MVSTP*
or
Code:
rename 's/MVSTP/MVSTQ/' MVSTP*
To avoid confusion or for portability, use the
mv command - as suggested by Chris - and compute the new name using shell parameter substitution, e.g.
Code:
for file in MVSTP*
do
mv $file ${file/MVSTP/MVSTQ}
done
Please see
http://www.gnu.org/software/bash/man...eter-Expansion for details. On the other hand, if the pattern is not the same please clarify and show us different file names in order to see the common features.