title: linux command to empty all files of a directory
body: <p>I´d like to empty all files from a directory. I´d tried this:</p>
  
  <pre><code>find myFolderPath/* -exec cat /dev/null &gt; {} ';'
  </code></pre>
  
  <p>but it does not work. How can I do it?</p>