mls(1)
π mls(1) β the Manta Commands era, bestie
okay so real talk: this is mls(1) from the Manta Commands set, and yes she's here to list your stuff. so iconic of her.
β¨ NAME β¨
mls β list directory contents. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
mls [OPTION...] [FILE]...
π¦ DESCRIPTION π¦
okay so mls lists info about the FILEs you hand it. and if you hand it literally nothing? she defaults to /:login/stor, where :login is either the login you gave her with -a or whatever $MANTA_USER says. main character energy, honestly. π
entries come sorted by creation time. and heads up β directories will look like they have a trailing / after them, while objects are just the name, unless you passed -l. no cap. π
π EXAMPLES π
$ mls ~~/stor
foo
home/
README.md
tmp/
look at that. flawless. directories got their lil slashes, objects didn't. slay. β¨
π OPTIONS π
-a,--account loginβ authenticate as login name. be that account, periodt.-h,--human-readableβ human readable output when you're using a long listing format. cute lil numbers for humans. π«Ά--helpβ print a help message and exit. she'll explain herself.-i,--insecureβ this option explicitly allows "insecure" SSL connections and transfers. ngl, all SSL connections are attempted to be made secure by using the CA certificate bundle installed by default β so this is you going "yeah ik, do it anyway." π-j,--jsonβ output records in JSON instead of the human readable form. for the machine girlies. π-k,--key fingerprintβ authenticate using the SSH key described by FINGERPRINT. the key must either be in~/.sshor loaded in the SSH agent viassh-add. no shortcuts, bestie.-l,--longβ use a long listing format. note that since Manta does not have group information, this is likels -o, notls -l, in a traditional shell. important lore. π-m,--marker nameβ start listing at name NAME. useful to paginate through large listings. lowkey the pagination queen.-r,--reverseβ reverse order while sorting. flip it. π--role=ROLE,ROLE,...β specify which roles to assume for the request. yes, plural, comma-separated, she can multitask. π-t,--timeβ sort by modification time, newest first. fresh to death. β--user userβ authenticate as user under account. subuser era.-u,--url urlβ Manta base URL, likehttps://us-central.manta.mnx.io. point her somewhere. π-v,--verboseβ print debug output tostderr. repeat the option to increase verbosity. (-v,-vv,-vvvβ¦ you get it. π©·)
π§ ENVIRONMENT π§
the environment variables are literally the same thing as the flags, just living in your shell instead. iykyk.
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. saving you so many keystrokes, you're welcome bestie π
ngl the ~~ shortcut is the moment. type less, vibe more.
π₯ DIAGNOSTICS π₯
when you use the -v option, diagnostics get sent to stderr in bunyan output format. and if you wanna trace, like, all the information about a request, try:
$ mls -vv ~~/stor 2>&1 | bunyan
that 2>&1? that's the whole trick. pipe it straight into bunyan and watch the tea spill. ββ¨
π BUGS π
- DSA keys do not work when loaded via the SSH agent. fr fr, they just don't. π
- report bugs at Github β¨
https://github.com/TritonDataCenter/node-manta/issuesβ© β go tell them, not me. π«Ά
π sign-off π
that's the whole page, bestie β brought to you by Manta, dated Sep 2018, and she ate, no crumbs. go list some directories. π πβ¨
π¦ 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