I got a folder (lets say it’s name is ../TEMPO) with many folders inside [A,B,C..Z] on a linux machine.
Each folder has 3 more levels of folders. Some of the deeper folders are with lowercase name, Example:
A/F/m/O
Z/t/q/S
In the 4th level there are files which i would like to keep with the same name as it is now.
How can I rename just the folders name to uppercase recursively without changing the files name exists in a specific folder (../TEMPO)?
Verify the output of this command
and if it looks fine, execute the results by piping the results to sh