Computer Science, asked by sam277714, 5 months ago

If you were to rename the ' while ' loop, what would be it and why​

Answers

Answered by BiswaShresikha
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 Janine236
1

Answer:

we can rename it has 'do' loop

body process is same just format little diifers.

.

hope it helps u.

Similar questions