hello community,

Say we have the following structure in our filesystem:

dir1
dir2
dir3
dir4

dir stands for directory of course.

In dir1, there is a file1.txt that has in it numbers, like below

6576576  898798789  5645436549  76567576576  876876876876

Same goes for dir2. In dir2, there is a file2.txt, that has in it numbers,
like below

6576576  89879878963  56454365492  765675765763  8768768768765

And so with all the rest of the folders.
What we need to do, is have a new file (like an index) out of all
directories and files values, like below:

dir1;6576576,898798789,5645436549,76567576576,876876876876
dir2;6576576,89879878963,56454365492,765675765763,8768768768765

And secondly, another index file, which will have the reverse info

6576576;dir1,dir2

Any ideas on how would you approach this?

Best

Reply via email to