3 lines
101 B
Bash
3 lines
101 B
Bash
for file in $(ls *-v1.sh) ; do
|
|
cp -- "${file}" "$(echo "${file}" | sed -e 's/v1\.sh/v2\.sh/')"
|
|
done |