{
  "id": "curl-save-output-table",
  "kind": "table",
  "slug": "curl-save-output",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/curl-save-output/",
  "title": "curl -o writes the download to a file instead of stdout (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "--output writes output to the given file instead of stdout.",
      "source_id": "S2"
    },
    {
      "topic": "C2",
      "fact": "With URL globbing you can use # followed by a number in the filename.",
      "source_id": "S2"
    },
    {
      "topic": "C3",
      "fact": "curl has several other ways to store and name the downloaded data.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "--remove-on-error deletes a partially saved file if curl exits with an error.",
      "source_id": "S1"
    }
  ],
  "related_slugs": [
    "curl-follow-redirects",
    "curl-post-data",
    "curl-retry"
  ],
  "license": "CC-BY-4.0",
  "source_license": "CC-BY-4.0 (Everything curl); curl license (MIT-derived) (curl/curl (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-23",
  "status": "draft-20261123-cov-01",
  "note": "Restated from the note; check the note sources before relying on a value."
}
