Regarding using KDiff3 merging tool

Burkhard Lück lueck at hube-lueck.de
Tue Aug 9 14:28:11 UTC 2016


Am Dienstag, 9. August 2016, 18:21:02 CEST schrieb Prashant Pahurkar:
> Hi,
> 
> I have certain doubts and clarification required wrt using KDiff3 tool as
> follows:
> 1. I want to merge 2 files and auto resolve the conflict by adding first
> lines from File A and then appending it with Lines from B. Is it possible
> without manual intervention.
> 2. Also Can i achieve the same using command prompt.
> For ex: I am using a batch file and using the following command
> call "C:\Program Files\kdiff3\kdiff3.exe" --auto
> "C:\Users\296170\Documents\Rnd Learning\n1.txt"
> "C:\Users\296170\Documents\Rnd Learning\n2.txt" -o
> "C:\Users\296170\Documents\Rnd Learning\n3.txt"
> 
> This will display the page where it will ask me to select from File A or B
> to resolve the conflict. But through command prompt I would like to get the
> merge output in n3.txt which will have the merge product of n1.txt and
> n2.txt.
> Please let me know if this is possible and what would be the command to
> achieve this?
> 
Please read https://docs.kde.org/trunk4/en/extragear-utils/kdiff3/
documentation.html#commandline

-- 
Burkhard Lück



More information about the kde-doc-english mailing list