PACDIFF(8)

πŸ“¦ version 1.13.1, in arch rolling

✨ 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 using find. classic, reliable, does the thing πŸ’–
  • -l, --locate β€” Scan using locate. 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 β€” Use sudo and sudoedit to 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 program vim -d, or nvim -d if EDITOR=nvim. yes, she checks, she's observant like that πŸ‘‘
  • DIFFSEARCHPATH β€” Override the default search path /etc, only when using find. context matters bestie πŸ’œ
  • MERGEPROG β€” Override the default diff3 -m 3-way merge program. One possible alternative is git 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