How do I copy and rename multiple files in Linux?

Giang Phạm

New member
How do I copy and rename multiple files in Linux?
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