title: Filter directory when using shutil.copytree?
body: <p>Is there a way I can filter a directory by using the absolute path to it?</p>
  
  <pre><code>shutil.copytree(directory,
                  target_dir,
                  ignore = shutil.ignore_patterns("/Full/Path/To/aDir/Common")) 
  </code></pre>
  
  <p>This doesn't seem to work when trying to filter the "Common" Directory located under "<code>aDir</code>". If I do this:</p>
  
  <pre><code>shutil.copytree(directory,
                  target_dir,
                  ignore = shutil.ignore_patterns("Common"))
  </code></pre>
  
  <p>It works, but every directory called Common will be filtered in that "tree", which is not what I want.</p>
  
  <p>Any suggestions ?</p>
  
  <p>Thanks.</p>