mget(1)
π¦ mget(1) β Manta Commands bestie energy π¦
π NAME π
mget β download an object from Manta, no cap. This little icon is serving Manta Commands realness and it's here to fetch your stuff.
β¨ SYNOPSIS β¨
mget [OPTION...] PATH...
π DESCRIPTION π
Okay so bestie, mget retrieves the content of object(s) specified by PATH(s) and dumps them straight to stdout. It's giving "grab and go" energy. π
Important vibe check:mgetdoes not perform incremental/resumable downloads. So any network-level errors that happen during transfer will result in an incomplete and/or corrupt output. You should check for an exit status of0to know that the request was successful. Fr fr, check that exit status. π
Also, mget by default will emit a progress meter on stderr. You can disable this with -q. Slay, quiet mode. π€«
π EXAMPLES π
Retrieves the given object, with a progress indicator. Cute:
$ mget ~~/stor/README.md > /tmp/README.md
Retrieves the given object, with a progress indicator, and stores it in the file README.md in the current directory. Iconic behavior:
$ mget -O ~~/stor/README.md
Finds and fetches a set of Javascript files, and pipes them to less. The pipeline is piping, honestly:
$ mfind -t o -n '.js$' ~~/stor/foo | xargs mget -q | less
π¦ OPTIONS π¦
-a,--account loginβ Authenticate as account (login name). Like, tell it who you are. πββοΈ-H,--header='header: value'β Additional HTTP header to include. Can be specified multiple times. Must be specified for each additional header. Yes, every single one, bestie. π-h,--helpβ Print a help message and exit. Your little escape hatch. β¨-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. It's giving risky business, so be aware. π¬-k,--key fingerprintβ Authenticate using the SSH key described byFINGERPRINT. The key must either be in~/.sshor loaded in the SSH agent viassh-add. Key check, but make it secure. π--role=ROLE,ROLE,...β Specify which roles to assume for the request. Role call, literally. π-o,--output fileβ Write output to<file>instead ofstdout. Choose your destination, main character. π―-O,--remote-nameβ Write output to a file using the requested object's name (i.e. the last element of the full object path) instead ofstdout. It names the file for you, periodt. π-q,--quietβ Do not display a progress meter. Silence is golden, honestly. π€«--user userβ Authenticate as user under account. Subuser moment. π«Ά-u,--url urlβ Manta base URL (such ashttps://us-central.manta.mnx.io). Pick your Manta address, bestie. π-v,--verboseβ Print debug output tostderr. Repeat option to increase verbosity. Morev's, more lore. π
πΈ 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. Tiny shortcut, big convenience. π§
π 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:
$ mget -vv ~~/stor/foo 2>&1 | bunyan
π BUGS π
DSA keys do not work when loaded via the SSH agent. That's the bug note, bestie. π«
Report bugs at Github: https://github.com/TritonDataCenter/node-manta/issues
π«Ά this page came from Manta, dated March 2019, and yes bestie it's mget(1) π
π¦ 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