SEARCH

The How-To Geek Forums Have Migrated to Discourse



Join the Discussion at discuss.howtogeek.com

How-To Geek Forums / Geek Stuff

Subtract one file from another?

(5 posts)
  • Started 6 months ago by wandersfar
  • Latest reply from scorpion99
  • Topic Viewed 356 times

wandersfar
Posts: 1

I have two lists, A and B. I want to subtract every line in B from A to yield list C. How can I do this?

Running Windows, would prefer a cmd solution, if one exists. Thanks.

Posted 6 months ago #
Top
 
Xhi
Xhi
Posts: 6298

Don't think it can be done except if the files are in a spreadsheet or database type program.

Posted 6 months ago #
Top
 
whs
whs
Posts: 17584

Sounds like a reverse sync.

Posted 6 months ago #
Top
 
ispalten
ispalten
Posts: 6259

Sounds like you are looking for a 'difference' tool. There are many of them around, Google will find most.

All are different, some will only show highlighted difference lines, others will allow just the differences, and some do allow saving of this. You'll have to try a few like :

http://www.softinterface.com/M.....Target.htm
http://support.microsoft.com/kb/159214
http://ss64.com/nt/windiff.html

There are others too.

Irv S.

Posted 6 months ago #
Top
 
scorpion99
scorpion99
Posts: 1033

you can try this software , it is very useful and easy to use.
BeyondCompare

Posted 6 months ago #
Top
 



Topic Closed

This topic has been closed to new replies. Please create a new topic instead.


Create New Topic Return to Forum