title: bash copy file where some of the filename is not known
body: <p>In a bash script i want to copy a file but the file name will change over time. 
  The start and end of the file name will however stay the same.</p>
  
  <p>is there a way so i get the file like so:</p>
  
  <pre><code>  cp start~end.jar
  </code></pre>
  
  <p>where ~ can be anything?</p>
  
  <p>the cp command would be run a a bash script on a ubuntu machine if this makes and difference.</p>