Need help copying and renaming files

I would like to copy files from one directory to another directory while renaming them at the same time. Does anyone have any ideas on how to do this in a script?

Basically, would like to copy files from

/user/data/prod/*.txt

to

/user/data/bck/*.txt.bck

for file in /user/data/prod/*.txt
do
    cp ${file}  /user/data/bck/$(basename ${file})".bck"
done

Hello!

Per forum rules, and the benefit of all users, please search the forums before posting a question.

You can easily search the forums using our internal Google search engine or our advanced internal search engine. You can also search our huge UNIX and Linux database by user generated tags or search the database for unanswered questions and provide an answer.

Search for copy rename files

Thank you.

The UNIX and Linux Forums

I did search your forums, Franklin52.

Thank you.