mput(1)

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

πŸ’… mput(1) β€” Manta Commands πŸ’…

✨ NAME ✨

okay so the NAME line says mchattr β€” change object attributes. (yes bestie, the page is mput(1) but the command in here is mchattr β€” that’s literally what the page says πŸ’€)

🌸 SYNOPSIS 🌸

mchattr [OPTION...] OBJECT

πŸ¦‹ DESCRIPTION πŸ¦‹

mchattr changes attributes of an object. Running mchattr only changes metadata about the object (i.e., HTTP headers). Running mchattr completely replaces all modifiable HTTP headers, so you must specify the complete set upon running. like, full replacement energy β€” not a tiny patch vibe.

heads up, bestie: you are not permitted to update β€œcore” headers, such as durability-level, content-length, and content-md5. You can update content-type, m-* and CORS headers. no cap.

πŸŽ€ EXAMPLES πŸŽ€

$ mchattr -H m-foo:bar ~~/stor/foo.txt

πŸ’… OPTIONS πŸ’…

  • -a, --account login β€” authenticate as account (login name).
  • -h, --help β€” print a help message and exit.
  • -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.
  • -H, --header β€” set the specified HTTP header.
  • -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.
  • --role=ROLE,ROLE,... β€” specify which roles to assume for the request.
  • -u, --url url β€” Manta base URL (such as https://us-central.manta.mnx.io).
  • --user user β€” authenticate as user under account.
  • -v, --verbose β€” print debug output to stderr. Repeat 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. iconic little shortcut tbh 🫢

⭐ 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:

$ mchattr -v ~~/stor/foo 2>&1 | bunyan

πŸ™ˆ BUGS πŸ™ˆ

DSA keys do not work when loaded via the SSH agent. 😭

Report bugs at Github ⟨https://github.com/TritonDataCenter/node-manta/issues⟩


xoxo, Manta πŸ’– β€” May 2013 β€” mput(1) ✨

πŸ“¦ where this page comes from