DUP-RM(1)

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

✨ dup-rm β€” Remove snapshot ✨

okay bestie so like… this is the dup-rm manual page, from the General Commands Manual section (section 1, the "commands you actually type" section πŸ’…). It's giving "small tool, one job, does it slay." Let's get into it 🫢


🌸 SYNOPSIS 🌸

dup-rm [-v] [-k keyfile] [-r repo] name

Like, that's the whole vibe check right there β€” you got your flags, you got your name, and you're done ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So dup-rm removes the snapshot specified by name. That's it. That's the whole thing. It takes the snapshot you point at and it yeets it πŸ—‘οΈβœ¨

No cap, it doesn't do anything else. main character energy: minimal, efficient, iconic πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -k keyfile β€” path to the encryption key, bestie πŸ”‘ like if your repo is encrypted you gotta hand it the keyfile so it can actually get in there.
  • -r repo β€” path to the dedup repository. And lowkey important: by default, the current working directory is used. so if you don't pass this, it's just gonna assume you're already standing in the repo πŸ™ˆ
  • -v β€” enable verbose mode. she'll tell you what she's doing πŸ’¬βœ¨

πŸ’œ AUTHORS πŸ’œ

Shoutout to the icons who made this:

  • Dimitris Papastamos <sin@2f30.org>
  • z3bra <contactatz3bradotorg>

we love them, we thank them, periodt πŸŒˆπŸ‘‘

⭐ CAVEATS ⭐

okay so this is the part where you pay attention fr fr πŸ‘€

dup-rm relies on filesystem specific capabilities to perform its operation. And if the filesystem implementation does not support hole punching, dup-rm will fail gracefully without removing any data. So like β€” nothing gets deleted, it just kinda shrugs and walks away πŸ’€ which honestly? respectful. no accidental data loss, we stan a cautious queen πŸ™βœ¨

ngl the phrase "fail gracefully without removing any data" is the most reassuring thing on this whole page. hole punching support = the vibe check your filesystem has to pass πŸ•³οΈπŸ‘Š

πŸ’– that's the whole page bestie, mwah πŸ’– β€” brought to you by the Debian crew, dated May 5, 2019 (yes, a whole era ago 😭). go forth and remove those snapshots responsibly πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from