title: How to rename files removing everything up to the second or third occurence of a character?
body: <p>I have a list of files, in different folders, named like</p>
  <pre><code>aaaaaa_bb_cccc_ddddd_ee.jpg
  </code></pre>
  <p>In some of them, I need to remove everything up to the second _, so they become</p>
  <pre><code>cccc_ddddd_ee.jpg
  </code></pre>
  <p>In others (already in a separate folder), I need to remove everything up to the third _</p>
  <pre><code>ddddd_ee.jpg
  </code></pre>
  <p>How can I do that on Linux terminal?</p>