title: Can I perforce integrate files from 2 directories into a single directory?
body: <p>I've imported a project into a directory and the original directory structure is:</p>
  
  <pre><code>//depot/a/b/foo.txt
  //depot/a/b/bar.txt
  //depot/a/b/c/baz.txt
  //depot/a/b/c/boz.txt
  </code></pre>
  
  <p>Note that none of the files in <code>//depot/a/b</code> have name conflicts with files in <code>//depot/a/b/c</code>. </p>
  
  <p>I'd now like to reorganize things such that all of those text files reside under <code>//depot/newdir/</code>. I attempted this by creating the following branch spec with view lines similar to the following:</p>
  
  <pre><code>//depot/a/b/... //depot/newdir/...
  //depot/a/b/c/... //depot/newdir/...
  </code></pre>
  
  <p>This didn't work. When I integrate, the files in <code>//depot/a/b/c</code> clobber those in <code>//depot/a/b</code>. If I reverse the lines the files in <code>//depot/a/b</code> clobber those in <code>//depot/a/b/c</code>. </p>
  
  <p>I've tried various wildcards (such as the following) hoping to be more specific, and can't get this to work.</p>
  
  <pre><code>//depot/a/b/%%1.txt //depot/newdir/%%1.txt
  //depot/a/b/c/%%1.txt //depot/newdir/%%1.txt
  </code></pre>
  
  <p>Is it possible to migrate all of the files as described above to the <code>//depot/newdir</code> area in a single branch spec?</p>