I have lots of files in a structure like this. There are .py
files inside folder with the name std01
...std60
/std01 (directory)
problem1.py
problem2.py
problem3.py
/std02 (directory)
problem1.py
problem2.py
problem3.py
By using bash
commands, can I move and rename those files, so that it would be in a folder by the file name, leading by the std
folder name?
/problem1.py (directory)
std01_problem1.py
std02_problem1.py
...
/problem2.py (directory)
std01_problem2.py
std02_problem2.py
...