title: Copying from mount share drive to local folder through script
body: <p>This is my first time trying to work with Linux Scripts so this may be something obvious.</p>
  
  <p>Here is what I am trying to do:</p>
  
  <ol>
  <li>Remove all contents from local folder - rm /home/user/Documents/Exercise/</li>
  <li>Copy files from a shared windows network drive - cp smb://server/arc/Exercise%20Files/Word/</li>
  </ol>
  
  <p>So from my understanding my command should look like this</p>
  
  <pre><code>  rm /home/user/Documents/Exercise/
    cp smb://server/arc/Exercise%20Files/Word/ /home/user/Documents/Exercise/
  </code></pre>
  
  <p>But anytime I try and run either of the above commands I get the following error:</p>
  
  <pre><code>  "rm: cannot remove `/home/user/Documents/Exercise/': Is a directory"
    "cp: cannot stat `smb://server/arc/Exercise%20Files/Word/': No such file or directory"
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Kind Regards,</p>
  
  <p>M</p>