mrmdir(1)
okay so bestie, welcome to the mrmdir(1) page from Manta Commands π«Άβ¨ this is your group-chat cheat sheet for removing empty directories, and yes we're keeping every flag because details are the moment. π
π NAME π
mrmdir β remove empty directories. that's it, that's the name, no cap π
β¨ SYNOPSIS β¨
like, the shape of the command is:
mrmdir [OPTION...] DIRECTORY...
πΈ DESCRIPTION πΈ
mrmdir removes each specified directory, if they are empty. so you point it at DIRECTORY..., and it does its thing only when the directories are empty β if a directory is not empty, this is not the tool for that, bestie. periodt. π«Ά
π EXAMPLES π
this iconic little example:
$ mrmdir ~~/stor/tmp
π OPTIONS π
-a,--accountlogin β authenticate as account (login name). π-h,--helpβ print a help message and exit. easy.-i,--insecureβ this option explicitly allows"insecure"SSL connections and transfers. All SSL connections are attempted to be made secure by using the CA certificate bundle installed by default. π¬-I,--interactiveβ confirm before deleting directories. yes, it asks first, we love a cautious queen π«Ά-k,--keyfingerprint β authenticate using the SSH key described by FINGERPRINT. the key must either be in~/.sshor loaded in the SSH agent viassh-add. π--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. π£οΈ
π¦ ENVIRONMENT π¦
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.
the shortcut ~~ is equivalent to /:login where :login is the account login name. iykyk π§
π DIAGNOSTICS π
when using the -v option, diagnostics will be sent to stderr in bunyan output format. as an example of tracing all information about a request, try:
$ mrmdir -vv ~~/stor/foo 2>&1 | bunyan
π BUGS π
DSA keys do not work when loaded via the SSH agent. ngl that's the bug note, not me being dramatic π
Report bugs at Github β¨https://github.com/TritonDataCenter/node-manta/issuesβ©
okay bye bestie β source/version: Manta, dated August 2018, and it's the mrmdir(1) manual. mwah π
β¨
π¦ 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