title: Convert hex codes into ASCII characters within a URL using Mac Terminal
body: <p>I have a text file with many URLs, however, some of them contains hexadecimal codes like <code>%5D</code>, <code>%28</code>, <code>%3D</code> etc. I would like to use a terminal command to convert these hex codes into ASCII characters.
  For example, I want this:
  <code>https://51.15.54.108/%3Fdir%3DCloud</code></p>
  <p>to become this:</p>
  <p><code>https://51.15.54.108/?dir=Cloud</code></p>
  <p>I guess, there must be a way how to accomplish this using <code>sed</code>, <code>awk</code>, <code>ex</code> or perhaps <code>iconv</code>. I am also open to using python as well.
  Thanks in advance!</p>