PACDIFF(8)
β¨ PACDIFF(8) β¨
okay so bestie, welcome to pacdiff β the pacman-contrib manual page that's about to make you feel very organized π
. Say hi to your new fave little maintenance utility, iykyk π«Ά.
π NAME π
pacdiff β the pacorig, pacnew and pacsave maintenance utility, aka your personal cleanup crew for all those lil backup files that pile up like laundry πΈ
π SYNOPSIS π
pacdiff [options]
that's it. that's the whole vibe. no positional args, just you and your options π¦
π DESCRIPTION π
So like,, pacdiff is a script (yes, a script, she's humble π) that goes looking for pacorig, pacnew and pacsave files β and it finds them by checking out the backup entries chillin' in your local pacman db π
And for every single file she finds? You get to choose what happens, no cap:
- view it π
- merge it π€
- skip it π
- diff it π
- remove it ποΈ
- or overwrite it π₯
You're literally the main character of your own config files. periodt β¨
π OPTIONS π
π Search Options π
-f,--findβ Scan usingfind. classic, reliable, does the thing π-l,--locateβ Scan usinglocate. speedy lil icon β-p,--pacmandbβ Scan active config files from the pacman database. this one's the default, so it's giving main character energy by default π
π¦ General Options π¦
-b,--backupβ When you're overwriting stuff, save the old files with.bakβ a little safety net, we love to see it π«Ά-c,--cachedir <dir>β Scan dir instead as the pacman cache for 3-way merge base candidates. you're telling her where to look, bossy queen π-h,--helpβ Display syntax and command-line options. the classic cry for help (affectionate) π--nocolorβ Do not colorize output. for when you want it plain, no frills, minimal aesthetic πΈ-o,--outputβ Print files instead of merging them. look but don't touch energy π-s,--sudoβ Usesudoandsudoeditto merge/remove files. big permissions energy π₯-3,--threewayβ View diffs in 3-way fashion if the base package is available in the cache. Fall back to regular 2-way diff otherwise. she tries her best, and if she can't, she pivots gracefully π§-V,--versionβ Display version information. hi, what's your sign (version) π
π ENVIRONMENT π
DIFFPROGβ Override the default diff programvim -d, ornvim -difEDITOR=nvim. yes, she checks, she's observant like that πDIFFSEARCHPATHβ Override the default search path/etc, only when usingfind. context matters bestie πMERGEPROGβ Override the defaultdiff3 -m3-way merge program. One possible alternative isgit merge-file -p. options options options β¨
π§ SEE ALSO π§
pacman(8), pacman.conf(5) β go read those too, they're iconic in their own right π
π BUGS π
Bugs? π You must be kidding; there are no bugs in this software. she said what she said π
But if we happen to be wrong (hypothetically, allegedly, in theory π), file an issue with as much detail as possible at https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/new. the more deets the better, bestie π«Ά
π AUTHORS π
Current maintainers, the real ones:
- Johannes LΓΆthberg
<johannes@kyriasis.com> - Daniel M. Capella
<polyzen@archlinux.org>
For additional contributors, use git shortlog -s on the pacman-contrib.git repository. give credit where it's due, always π
ok that's the whole page and honestly? she ate. no crumbs. π
and that's a wrap, bestie π β this was Pacman-contrib 1.13.1, dated 2025-12-11, signing off with a lil kiss and a PACDIFF(8) πβ¨
π¦ where this page comes from
- arch rolling: pacman-contrib 1.13.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms