title: OSX Shell Script - deleting all desktop files
body: <p>I am trying to delete all files on the Desktop of seperate users from my admin account using a shell script. </p>
  
  <p>This is my code to delete (for student)</p>
  
  <pre><code>sudo rm /Users/student/Desktop/*
  </code></pre>
  
  <p>but i get an error:</p>
  
  <pre><code>rm: /Users/student/Desktop/*: No such file or directory
  </code></pre>
  
  <p>When i run the script it prompts me for the Admin pass, then errors out.
  Is using the Desktop/* appropriate? any tips? Thanks</p>