FG
💻 Software

What is the simplest way to remove lines from one file matched with lines from another file?

Fresh7 days ago
Mar 15, 202610731 views
Confidence Score0%
0%

Problem

What's the simplest way to remove lines from one file matched with lines from another file? For example, if I have the following files: file1.csv: file2.csv: As a result I'd like to have file3.csv: What's the fastest way to solve this task? These files are a few GB in size.

Error Output

u2@domain.com

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is the simplest way to remove lines from one file matched with lines from another file?

Low Risk

seems the simplest. But you should do performance tests with smaller files first. (I agree with soandos' comment that such big files might need a dedicated solution.)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment