After using Compare, how do you save differences?
-
Hi everyone,
I have two txt files consisting of more than 5000 lines. One file contains data from a year ago, the other contains data from now. What I need is all the data that was in last year’s file, but not in the current file.
I compared both txt files using the Compare plugin (see screenshot). What I want now is to remove all non-red and non-yellow lines from the left file, leaving only the red and yellow lines. The green lines in the right file do not interest me.
How do I do this? I asked Chat GPT the same question and they gave me a few options related to the Mark option, but I can’t get it to work. Is there anyone here who can give me the redeeming answer?
Thanks for reading!
Jacqueline
Notepad++ v8.6.4 (64-bit)
Build time : Feb 20 2024 - 00:12:59
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : “C:\Users\hooge_001\Downloads\Schrapbestand maken\20220915.txt”
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Education (64-bit)
OS Version : 21H2
OS Build : 19044.4046
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
ComparePlus (1.1)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4) -
Hi,
Download ComparePlus v1.2 (should be in the next Notepad++ version 8.6.5 coming out soon - in a week or two). You can also get it manually from here .
You should replace the existing ComparePlus v1.1 folder that you currently have with the downloaded archive contents and then restart Notepad++.Then please read this post so I don’t have to write it here again - you need to follow point 1 after comparing your files with the new ComparePlus v1.2 to copy all diff lines from your left (red marked) file.
Then just paste the copied lines to a new document or where you need them.Write again here if you have further questions.
BR
-
@pnedev Thank you very much, I will try this! This is my work laptop on which I don’t have admin rights, so I will need to have someone install this for me. Thanks a lot!