I'd like to know how a bash code is made to rename all files of a certain extent and folders that begin with an expecific name. The repository that I want to make changes to:
For example:
1.in - > 01.in 1.out - > 01.out
3_Flux -> 03_Flux 4_Subalgorithms - > 04_Subalgoritmos
Only those 3 cases, files with extension .in, .out, and folders, and start with a number less than 10, if not less than 10, the 0 does not need to be added.