---
title: "💭 curl with partial files | daniel.haxx.se"
description: "!https://daniel.haxx.se/blog/2024/12/30/curl-with-partial-files/"
date: 2024-12-30
published: true
tags:
  - linux
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://daniel.haxx.se/blog/2024/12/30/curl-with-partial-files/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://daniel.haxx.se/blog/wp-content/uploads/2021/04/curl-polynesia-puzzle.jpg" alt="curl with partial files — Back in September 2023, we extended the curl command line tool with a new fairly advanced and flexible variable system. Using this, users can use files, environment variables and more in a powerful way when building curl command lines in ways not previously possible - with almost all existing command line options. curl command lines … Continue reading curl with partial files →" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">curl with partial files</div>
      <div class="embed-card-description">Back in September 2023, we extended the curl command line tool with a new fairly advanced and flexible variable system. Using this, users can use files, environment variables and more in a powerful...</div>
      <div class="embed-card-meta">daniel.haxx.se &middot; daniel.haxx.se</div>
    </div>
  </a>
</div>


This is a cool new feature coming to bash, I can't think of a use case I have out of the gate, but it looks cool.  I'm thinking this might be good to keep in the back pocket for something like CI where I don't have a hightly tuned bashrc file, and I want a dynamic curl request based on some state that exists as a fille.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
