PLAKAR-DIFF(1)
π 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
- nixos 26.05: plakar 1.1.4
- nixpkgs unstable: plakar 1.1.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms