mget(1)

πŸ“¦ version 5.4.2, in nixos 26.05, nixpkgs unstable

πŸ¦‹ 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: mget does 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 of 0 to 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 by FINGERPRINT. The key must either be in ~/.ssh or loaded in the SSH agent via ssh-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 of stdout. 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 of stdout. 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 as https://us-central.manta.mnx.io). Pick your Manta address, bestie. 🌐
  • -v, --verbose β€” Print debug output to stderr. Repeat option to increase verbosity. More v'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