title: How to delete files older than 7 days in Linux using the shell
body: <p>I want to delete the files older than 7 days in Linux using the shell.
  I am using this code to do that is that correct?</p>
  
  <pre><code>find $OUTPUTDIR -type f -mtime +7 -delete
  </code></pre>