PLAKAR-DIFF(1)

πŸ“¦ version 1.1.7, in nixos 26.05, nixpkgs unstable

πŸ’… PLAKAR-DIFF ✨

okay so bestie, welcome to plakar-diff, a.k.a. the General Commands Manual page that's gonna teach you how to spot the differences between files in your Plakar snapshots πŸ¦‹ this is lowkey one of the most satisfying commands in the whole toolkit, ngl β€” it's giving detective energy πŸ”


🌸 NAME 🌸

plakar-diff β€” show differences between files in a Plakar snapshots πŸ’–

(yes, that's the real wording, and yes, "a Plakar snapshots" is how it's written in the original β€” we don't fix, we don't judge, we report 🫢)


✨ SYNOPSIS ✨

plakar diff [-highlight] [-recursive] snapshotID1[:path1]
       snapshotID2[:path2]

that's it, that's the whole vibe. two snapshot IDs, optional paths, optional flags, maximum slay πŸŽ€


πŸ’… DESCRIPTION πŸ’…

so the plakar diff command compares two Plakar snapshots, and optionally you can restrict the comparison to specific files within them. iconic behavior, honestly.

  • if you give it only snapshot IDs, it compares the root directories of each snapshot πŸ“
  • if you give it file paths, the command compares the individual files themselves πŸ”₯

the diff output comes out in unified diff format, and there's an option to highlight the differences if you want it to look extra pretty ✨

the options are as follows, bestie β€” there's literally two of them, we love a short list:

πŸ‘‘ OPTIONS πŸ‘‘

  • -highlight β€” applies syntax highlighting to the diff output so it's actually readable and not just a wall of text 😭 readability slay!
  • -recursive β€” when you're comparing directories, this makes it recursively compare all the subdirectories too πŸŒ€ no subdirectory left behind, periodt.

πŸ¦‹ EXIT STATUS πŸ¦‹

the plakar-diff utility exits 0 on success, and >0 if an error occurs πŸ’€

so like β€” 0 means we ate and left no crumbs, and anything above 0 means something went sideways. simple as that πŸ“


🌈 EXAMPLES 🌈

compare root directories of two snapshots πŸŽ€

$ plakar diff abc123 def456

compare across snapshots with highlighting: /etc/passwd ✨

$ plakar diff -highlight abc123:/etc/passwd def456:/etc/passwd

see how the :/etc/passwd rides along on each snapshot ID? that's the snapshotID:path thing in action, iykyk πŸ’œ


🧚 SEE ALSO 🧚

go read those next, bestie, they're the main character energy companions to this one 🌸


real talk for a sec 🫢 β€” this whole page is from the Debian build, dated May 5, 2026, and it's the PLAKAR-DIFF(1) page. facts are facts, dates are dates, and we respect both πŸ’–

okay bye, go diff something and slay πŸ’…βœ¨

πŸ“¦ where this page comes from