OS Manuals

/usr/bin/splitdiff

Manipulate patch files

From patchutils 0.4.5-r3 (enterprise-packages), captured 2026-11-08 by running splitdiff --help (exit 0). permalink

usage: splitdiff [OPTIONS] FILE
OPTIONS are:
  -a              split out every single file-level patch
  -p N            pathname components to ignore
  -d              use output filenames like a_b.c.patch for a/b.c
  -D dir          create patches in subdirectory dir (implies -d)
  -E              don't use .patch filename extension
Options (5)
OptionDescriptionSource
-asplit out every single file-level patchhelp
-p Npathname components to ignorehelp
-duse output filenames like a_b.c.patch for a/b.chelp
-D dircreate patches in subdirectory dir (implies -d)help
-Edon't use .patch filename extensionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.