title: Get all files modified in last 30 days in a directory
body: <p>CentOS. Need to find files modified in last 30 days to see if any of them have been infected with malware.</p>
  
  <p>I tried this:</p>
  
  <pre><code>root@server [/home/someuser/public_html/]# find . -mtime +30
   -exec ls -l {} &gt; last30days.txt \;
  </code></pre>
  
  <p>But instead of the last 30 days, it seems to have found everything. 22,000 files.</p>