Reputation: 4909
I'm having two versions of PHP scripts. I forgot which lines I modified in the new version.
I have more than 100 files. So can anyone tell me how to bulk view the difference by comparing two directories?
Thanks
PS: If you guys know any free or paid tool please let me know.
Upvotes: 1
Views: 78
Reputation: 340743
In Unix/Mac environments:
diff -rq dirA dirB
There are plenty of command-line and GUI tools for Windows as well. Also consider using any vcs, modern dvcs systems like git and mercurial are very well suited even for a single developer.
Upvotes: 2
Reputation: 120937
You could combine a simple shell-script loop with the diff
command... but yes, as Andreas AL mentioned, source control is a more robust solution to your problem.
Upvotes: 1
Reputation: 1419
One of the best paid tools : Beyond Compare 3 http://www.scootersoftware.com/
Upvotes: 1