rbh-diff(1)
π rbh-diff β ok so this is the diff queen
Bestie, welcome to rbh-diff(1), straight outta the Robinhood 3.0 manual (yes, the robinhood suite, not the app, pls don't ask me about stocks π). This page lives in section 1 of the manual, and honestly? It's giving "spot the difference" but make it filesystem. Let's go π
β¨ NAME β¨
rbh-diff β literally lists the differences between the robinhood database and the filesystem. That's it. That's the whole vibe. Your db and your fs are supposed to be twinning, and this tool tells you when they're not π«Ά
β¨ SYNOPSIS β¨
rbh-diff [options]
No positional args, no chaos β just options, bestie. Pick your flags and go πΈ
β¨ OPTIONS β¨
-sdir,--scan=dir β only scan the specified subdir. Like, scope it down. Don't do the whole filesystem when you only care about one little corner of it π-dattrset,--diff=attrset *: β display changes for the given set of attributes. *attrset is a list of options in:path,posix,stripe,all,status,notimes,noatime. Yes, it's a whole little menu of attribute groups β pick your fighter π-a{fs|db},--apply[={fs|db}]β the "actually do something about it" flag.db(the default): apply changes to the database, using the filesystem as the reference.fs: revert changes in the filesystem, using the database as the reference.
Two directions, two very different consequences β know which way you're pointing that thing π₯
--dry-runβ if you're doing--apply=fs, this displays the operations on the filesystem without performing them. A little peek behind the curtain before you commit, no cap π-b,--from-backendβ when applying changes to the filesystem (--apply=fs), recover objects from the backend storage. Otherwise? It recovers orphaned objects on OSTs. Choose wisely, bestie π
π CONFIG FILE OPTIONS π
-ffile,--config-file=configfile β path to the configuration file (or a short name). Point it at your config and let it cook π
β MISCELLANEOUS OPTIONS β
-llevel,--log-level=loglevel β force the log verbosity level, and yes, it overrides the configuration value. Allowed values:CRIT,MAJOR,EVENT,VERB,DEBUG,FULL. From "barely a whisper" all the way to "tell me everything, I'm obsessed" π-h,--helpβ display a short help about command line options. The classic. When in doubt, ask for help π«Ά-V,--versionβ display version info. Iconic, brief, does exactly what it says π
π¦ SEE ALSO π¦
The whole friend group, fr fr π§
Heads up bestie:--apply=dband--apply=fshit completely different things. One rewrites your database, the other rewrites your filesystem. Do not just yolo a-awithout clocking which value you're passing, okay? π
That's the whole page, babes β source and version Robinhood 3.0, dated 07 July 2016 (yes she's an elder but she still slays π). Go diff something. Periodt. β¨
π¦ where this page comes from
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood-tools 3.1.7-bp160.1.12 Β· CECILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms