
    <p>
      Kevie, from the <a href="https://tuxjam.otherside.network"
        rel="noopener noreferrer" target="_blank">
        TuxJam</a> podcast, continues his look at audio tools on the
      command line; this time focusing on acquiring audio files from an
      RSS feed.</p>
    <p>
      Save the latest file from a feed:</p>
    <p>
    </p>
    <pre><code>wget `curl RSS_FEED | grep -o 'https*://[^"]*FILE_EXTENSION' | head -1`<p></p></code></pre>
    <p>
      To get the latest episode of TuxJam </p>
    <p>
    </p>
    <pre><code>wget `curl https://tuxjam.otherside.network/feed/podcast/ | grep -o 'https*://[^"]*ogg' | head -1`<p></p></code></pre>
    <p>
      However if you want the files from the whole feed:</p>
    <p>
    </p>
    <pre><code>wget `curl RSS_FEED | grep -Eo 'https*://[^"]*FILE_EXTENSION' | sort -u | xargs`<p></p></code></pre>
    <p>
      To get every episode of TuxJam:</p>
    <p>
    </p>
    <pre><code>wget `curl https://tuxjam.otherside.network/feed/podcast/ | grep -Eo 'https*://[^"]*ogg' | sort -u | xargs`<p></p></code></pre>
    <p>
      If you wish to specify the directory to save the file in then use
      -P /directory after wget. To download the TuxJam feed and place
      the files in a directory called Podcasts in your home folder you
      would use:</p>
    <p>
    </p>
    <pre><code>wget -P ~/Podcasts `curl https://tuxjam.otherside.network/feed/podcast/ | grep -Eo 'https*://[^"]*ogg' | sort -u | xargs`<p></p></code></pre>
    <p>
      For more in this mini-series of audio command line tools then see:</p>
    <ul>
      <li>
        <a
          href="https://www.hackerpublicradio.org/eps/hpr4249/index.html"
          rel="noopener noreferrer" target="_blank">
          hpr4249 :: Audio Streams on the Command Line</a>
      </li>
      <li>
        <a
          href="https://www.hackerpublicradio.org/eps/hpr4287/index.html"
          rel="noopener noreferrer" target="_blank">
          hpr4287 :: Schedule audio recordings on the command line</a>
      </li>
      <li>
        <a
          href="https://www.hackerpublicradio.org/eps/hpr4294/index.html"
          rel="noopener noreferrer" target="_blank">
          hpr4294 :: Schedule audio recordings on the command line - A
          bit of fine tuning</a>
      </li>
    </ul>