How do I copy and rename multiple files in Unix?

How do I copy and rename multiple files in Unix?
Answer
If you want to rename multiple files when you copy them, the easiest way is to write a script to do it. Then
edit mycp.sh with your preferred text editor and change newfile on each cp command line to whatever you want to rename that copied file to.
 

Tìm kiếm

Back
Top