title: Bash: select all filenames with a ' Tb ' in the filename
body: <p>I'm trying to loop through a directory of image files and select only filenames with [space]Tb[space] in the name.</p>
  <p>this: joe Tb joe.JPG</p>
  <p>not this: bob_Tb_bob.JPG</p>
  <p>Here's what I've got, which doesn't work.</p>
  <pre><code>files=* Tb *.JPG
      
  for f in $files
  do
  
  #do stuff here
  
  done
  </code></pre>
  <p>thanks for any help!</p>