Say we have the following structure in our filesystem:
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,
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:
And secondly, another index file, which will have the reverse info
Any ideas on how would you approach this?