I need to rename the following folders:
d_001_d d_001_h d_005_d d_005_h d_007_d d_007_h In:
d_a_d d_a_h d_b_d d_b_h d_c_d d_c_h So basically each code number correspond to a name(letter). I tried with the sed command and a for loop with an array but I'm not able to get exactly what I want.
Thanks for help