title: Exclude directory while copy directory
body: <p>I want to exclude two directories while copying.</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>$ ls /root/tmp
  a b c d e f    
  </code></pre>
  
  <p>I want to exclude directories <code>a</code> and <code>b</code>:</p>
  
  <pre><code>$ cp -rp /root/tmp/ /root/tmp1/
  </code></pre>