title: Recursively loop through files in bash and manipulate each file through a command
body: <p>I want to recursively loop through each file in a folder from bash and do some sort of SIMPLE manipulation to them. For example, change permission, change timestamp, resize image with ImageMagick, etc., you get the idea.</p>
  <p>I know (like most beginners) on how to do it in a directory, but recursively... ?</p>
  <pre><code>$ for f in *.jpg ; do convert $f -scale 25% resized/$f ; done
  </code></pre>
  <p>Let's just keep it simple. say,</p>
  <pre><code>$ for f in *; do touch $f; done
  </code></pre>