title: recursive diff to create a patch and apply patch recursively
body: <p>I'm running into trouble using patch.  I have 2 folders with many subfolders and files.</p>
  
  <p><code>diff -ur backup/www/  www/ &gt; sync.patch</code></p>
  
  <p>Next, I'm trying to apply the patch.</p>
  
  <p><code>patch &lt; sync.patch</code></p>
  
  <p>It asks me <code>File to patch:</code> as you can see.</p>
  
  <pre><code>|diff -ur ./backup/www/members/categorize.php ./www/members/categorize.php
  |--- ./backup/www/members/categorize.php   2012-12-13 15:19:41.000000000 -0500
  |+++ ./www/members/categorize.php   2012-10-15 23:32:12.000000000 -0400
  --------------------------
  File to patch:
  </code></pre>
  
  <p>The file ./www/members/categorize.php exists.</p>