title: bash find filenames with the same last four character
body: <p>I'd like to write a script that will execute a command that finds every set of files that have the same last four characters.</p>
  
  <p>So for example, given a directory with these files, </p>
  
  <pre><code>$ ls -1
  GH010119.MP4
  GH010120.MP4
  GH010126.MP4
  GH010127.MP4
  GH020119.MP4
  GH020126.MP4
  GH020127.MP4
  GH030119.MP4
  GH030126.MP4
  </code></pre>
  
  <p>I'd like my script to make out these groups:</p>
  
  <pre><code>GH010119.MP4
  GH020119.MP4
  GH030119.MP4
  
  GH010126.MP4
  GH020126.MP4
  GH030126.MP4
  
  GH010127.MP4
  GH020127.MP4
  
  GH010120.MP4
  </code></pre>
  
  <p>My current solution is to make out each group manually using: <code>find . -name "*0119*"</code>, so I'd also like to know if the script I'd have to come up with won't be overly complex in comparison....</p>