FG
💻 Software

How can I copy a (big) directory over another changing only the files that differ?

Fresh5 days ago
Mar 15, 202632376 views
Confidence Score0%
0%

Problem

I have directory a and directory b. They are big. b is almost identical to a. "almost" means that 4-5 files differ, and I don't know which they are. I want to copy b over a, but only the files that differ. i'm in bash. (no, I can't simply delete a and replace it with b, because 1) a is version-cont…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I copy a (big) directory over another changing only the files that differ?

Low Risk

You can use to do this, the command I use is e.g.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment