title: Can I use shell wildcards to select filenames ranging across double-digit numbers (e.g., from foo_1.jpg to foo_54.jpg)?
body: <p>I have a directory with image files <code>foo_0.jpg</code> to <code>foo_99.jpg</code>.  I would like to copy files <code>foo_0.jpg</code> through <code>foo_54.jpg</code>. </p>
  
  <p>Is this possible just using bash wildcards?</p>
  
  <p>I am thinking something like <code>cp foo_[0-54].jpg</code> but I know this selects <code>0-5</code> and <code>4</code> (right?)</p>
  
  <p>Also, if it is not possible (or efficient) with just wildcards what would be a better way to do this?</p>
  
  <p>Thank you.</p>