If you were to rename the ' while ' loop, what would be it and why
Answers
Answered by
0
Answer:
Consider we have many photos with names like DSC_20170506_170809.JPEG. To rename the photos so that they follow the pattern Paris_20170506_170809.JPEG, I've wrote the following script that works perfect.
for file in *.JPEG; do mv ${file} ${file/DSC/Paris}; done
Answered by
1
Answer:
we can rename it has 'do' loop
body process is same just format little diifers.
.
hope it helps u.
Similar questions