Originally Posted by shazo
i read first entity seperetly for each file i wanted to now simple comand to do this because i have many files. anyways thanks alot for all your help.
Thank you for showing where you are on this effort, that really does help a lot.
In description, also because I'll have to experiment a bit to get it right unless someone else has either a better idea or the next level of answer:
I would use a BASH script which matches what you're doing, command line actions.
I would put the list of files into an array and work at figuring out how to fill that array via automatic means, but initially I may just type it in.
Then you could use each element of that array and a loop to make a results array.
FILE_LIST=('file1.txt' 'file2.txt' 'file3.txt');
And then there are notations to determine the size of that array, even though you know it, you can have one which you don't know the size, hence the notation to obtain the size. Further there are notations to get an element per index, and so forth. I'm just not really strong on BASH arrays, and would recommend you search the web for some examples, that's what I do when I run into a specific notation issue I'm weak on. Here's one resource: http://www.thegeekstuff.com/2010/06/...rray-tutorial/