I have a file with below contents. the file is dynamically created with these values.It has two parts separated by _. Basically I need to create a main directory(a,b,c ,d) first part and create the sub subdirectory(se cond part after _) into the respective directory. can you please give few tips to do the same.
a_1234
a_1234
b_12
a_1234
c_12
c_12345
d_12
a_1234
a_1234
b_12
a_1234
c_12
c_12345
d_12
Comment