opatch - Man Page

Apply a diff to a directory

Description

opatch [-C <DIR>] [-p <NUM>] [PATCH...]: apply a diff file

-p <NUM>

Strip <NUM> directories from the diff paths (default: 1)

-C <DIR>

Locate files to patch as if launched in <DIR> instead of .

-v

Set verbose mode, where applied patches are logged

-version

Print version and exit

--version

Print version and exit

--

Process all remaining arguments as patches

-help

Display this list of options

--help

Display this list of options

Info

November 2025 opatch 3.0.0