title: bash script rm cannot delete folder created by php mkdir
body: <p>I cannot delete folder created by php mkdir</p>
  
  <pre><code>for I in `echo $*`
  do
      find $I -type f -name "sess_*" -exec rm -f {} \;
      find $I -type f -name "*.bak" -exec rm -f {} \;
      find $I -type f -name "Thumbs.db" -exec rm -f {} \;
      find $I -type f -name "error.log" -exec sh -c 'echo -n &gt; "{}"' -f {} \;
      find $I -type f -path "*/cache/*" -name "*.*" -exec rm -f {} \;
      find $I -path "*/uploads/*" -exec rm -rdf {} \;
  done
  </code></pre>
  
  <p>I want to delete under <code>/uploads/</code> all files and folders please help me thanks...</p>