Issue
I have large number of files in the format x00000.jpg
, X00000.jpg
and xx00000.jpg
.
How can I rename these files so they are all uppercase, ignoring the numeric part of the name?
Solution
for f in * ; do mv -- "$f" "$(tr [:lower:] [:upper:] <<< "$f")" ; done
Answered By - damienfrancois Answer Checked By - Mildred Charles (WPSolving Admin)