On 2006-02-01, tony wrote:
If you have a rename command, use it. On some systems the command
rename .cfg.rpmsave .cfg *.cfg.rpmsave
There is another version of rename which uses a different syntax.
If you do not have rename, use this script:
for file in *.cfg.rpmsave
mv "$file" "$nf"
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence