I have a directory with multiple folders. Each folder has 2 files.
So, the directory looks like this:
FORMAT:
foldername --> file1.xyz file2.asd
1abc --> CIT+B+200.xyz CIT+B+200.asd
2def --> ISU+A+300.xyz ISU+A+300.asd
3ijk --> CNC+C+400.xyz CNC+C+400.asd
.
.
.
.
.
.
I need to know how to navigate through each of these folders and get the names of the two files in it.
Program should output the parsed filenames, and write them into a text file such that the text file looks like this:
1abc CIT B 200
2def ISU A 300
3ijk CNC C 400
.
.
.
.
.
- Thnks