title: For loop for files in multiple folders - bash shell
body: <p>I need to have files from many directories in a for loop.
  As for now, I have the following code:</p>
  
  <pre><code>for f in ./test1/*;
  ...
  for f in ./test2/*;
  ...
  for f in ./test3/*;
  ...
  </code></pre>
  
  <p>In each loop I'm doing the same thing. Is there a way to get files from multiple folders?</p>
  
  <p>Thanks in advance</p>