mrm(1)
π mrm(1) β the Manta Commands era
okay so real talk, bestie: this is mrm, one of the Manta Commands, and it's basically rm but for your Manta space. iconic behavior, honestly.
β¨ NAME β¨
mrm β remove objects or directories ποΈβ¨
π SYNOPSIS π
mrm [OPTION...] OBJECT...
π¦ DESCRIPTION π¦
mrm removes each specified object. that's the whole vibe.
but heads up: by default it does not remove directories. nope. not today. if you want dirs gone you gotta say so (spoiler: -r, see below π).
πΈ EXAMPLES πΈ
recursively delete every directory and object chillin' under /:login/stor/tmp? say less:
$ mrm -r ~~/stor/tmp
like literally everything under there. gone. slay but be careful π«Ά
π OPTIONS π
-a,--accountlogin β authenticate as account (that's a login name, bestie).-h,--helpβ print a help message and exit. the classic "what does this do again" move.-i,--insecureβ this one explicitly allows "insecure" SSL connections and transfers. ngl, by default all SSL connections are attempted to be made secure using the CA certificate bundle installed by default, so this is you choosing chaos π-I,--interactiveβ confirm before deleting objects. it asks first. main character energy: consent edition π-k,--keyfingerprint β authenticate using the SSH key described by FINGERPRINT. the key must either be in~/.sshor loaded in the SSH agent viassh-add.-p,--parallelNUM β limit concurrent operations to NUM. default is50. fifty at once, we stay multitasking β¨-r,--recursiveβ remove directories and their contents recursively. this is the one that makes dirs actually deletable, iykyk.--role=ROLE,ROLE,...β specify which roles to assume for the request.--useruser β authenticate as user under account.-u,--urlurl β Manta base URL (such ashttps://us-central.manta.mnx.io).-v,--verboseβ print debug output tostderr. repeat the option to increase verbosity (yes,-vvis a thing, see diagnostics π).
π ENVIRONMENT π
the env vars that stand in for your flags, so you don't have to type them every single time:
MANTA_USERβ in place of-a,--account.MANTA_SUBUSERβ in place of--user.MANTA_KEY_IDβ in place of-k,--key.MANTA_ROLEβ in place of--role.MANTA_URLβ in place of-u,--url.MANTA_TLS_INSECUREβ in place of-i,--insecure.
also the shortcut ~~ is equivalent to /:login where :login is the account login name. so cute, so convenient π
β DIAGNOSTICS β
when you use the -v option, diagnostics get sent to stderr in bunyan output format. wanna trace all the info about a request? try this:
$ mrm -vv ~~/stor/foo 2>&1 | bunyan
obsessed with a good trace, fr fr π₯
π BUGS π
- DSA keys do not work when loaded via the SSH agent. not a vibe, but it is what it is π
- report bugs at Github β¨
https://github.com/TritonDataCenter/node-manta/issuesβ©
lowkey reminder bestie:-ron a big directory is a whole thing.-Iexists for a reason π«Ά
k bye, this was Manta, August 2018 β go forth and delete responsibly πβ¨π
π¦ where this page comes from
- nixos 26.05: manta 5.4.2
- nixpkgs unstable: manta 5.4.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms