runtime.exec - How to run linux commands in java code? -
I want to differentiate between two files I tried to search for code in Java, but for this there is no simple code / Utility code was not found. Therefore, I thought that if I can run Linux defiff / sdf command in some way from my java code and can return it to a file that stores the difference then it would be great.
Let's say that two files are file A and file B. I should be able to store my DIFF file in my file using a file named File Def by java code. Receiving data from file ID will not be a big deal.
runtime. Method:
Comments
Post a Comment