title: Prevent CP hardlink by copying files into subfolder
body: <p>I have a folder structure like this</p>
  
  <pre><code>a/
  -b/
  -c.txt
  -d.txt
  -backups/
  </code></pre>
  
  <p>I want to move the contents of folder <code>a</code> into <code>backups</code> so the folder structure is this. </p>
  
  <pre><code>a/
  -b/
  -c.txt
  -d.txt
  -backups/
      -b/
      -c.txt
      -d.txt
  </code></pre>
  
  <p>Here are the commands I have used so far. </p>
  
  <pre><code>for d in a/*/ ; do
      mkdir -p ${d}backups/
      cp -ra ${d}* backups
  done
  </code></pre>
  
  <p>I make the folder backups then I try to copy the content into the <code>backups</code> folder. However, I get the error: CP Hardlink cannot copy folder onto itself. How can i do this?</p>
  
  <p>Thank You</p>