<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bash on W.P. Hill Tech</title>
    <link>https://sthilaire.gitlab.io/categories/bash/</link>
    <description>Recent content in Bash on W.P. Hill Tech</description>
    <image>
      <title>W.P. Hill Tech</title>
      <url>https://sthilaire.gitlab.io/static/papermod-cover.png</url>
      <link>https://sthilaire.gitlab.io/static/papermod-cover.png</link>
    </image>
    <generator>Hugo -- 0.140.2</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sthilaire.gitlab.io/categories/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Upgrading SQLcl Versions With a Symlink Script</title>
      <link>https://sthilaire.gitlab.io/sqlcl-version-manager-script/</link>
      <pubDate>Fri, 04 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://sthilaire.gitlab.io/sqlcl-version-manager-script/</guid>
      <description>&lt;h1 id=&#34;the-habit-i-was-trying-to-automate&#34;&gt;The habit I was trying to automate&lt;/h1&gt;
&lt;p&gt;SQLcl updates break things sometimes. Not often, but often enough that I stopped overwriting the last version every time a new one shipped.&lt;/p&gt;
&lt;p&gt;For a while now my setup has looked like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Every version I download lives in its own folder under &lt;code&gt;~/Applications&lt;/code&gt;, named after its build number.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;~/Applications/sqlcl-latest&lt;/code&gt; is a symlink pointing at whichever version is active.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;~/bin/sql&lt;/code&gt; is a symlink that goes through &lt;code&gt;sqlcl-latest&lt;/code&gt;, not straight to a version folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That last point is what makes rollback cheap. If a new release misbehaves, I repoint &lt;code&gt;sqlcl-latest&lt;/code&gt; at an older folder and &lt;code&gt;~/bin/sql&lt;/code&gt; follows it automatically. No need to touch &lt;code&gt;~/bin/sql&lt;/code&gt; at all.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
