I have several .txt files with license plates and some are repeated in different files and I would like to remove all the repeated ones.
The first solution I thought was to make a comparison between all the files using PHP or NodeJS, but I was kind of off the back and I do not know if that would be the best solution.
Then I thought about playing everything in a DB just to deal with, because I need those registrations in .txt files, but I saw that the DB would get huge, with many registrations and maybe not very viable because it was hundreds of files and thousands of enrollments.
What would be the best solution to this problem? Can any of the above two solve?