FG
šŸ’» Software

How to prevent patch from creating backup files?

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

Problem

I'm writing some code that will apply the patch(1) program, and I want to completely prevent it from creating backup files. That is, I don't want it to create files when it either fails to update a particular file (in which case it creates a file), or when it successfully updates a file but there's…

Error Output

foo.orig

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to prevent patch from creating backup files?

Low Risk

Apparently is the only way to go.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment