title: find files older than X days in bash and delete
body: <p>I have a directory with a few TB of files. I'd like to delete every file in it that is older than 14 days. </p>
  
  <p>I thought I would use <code>find . -mtime +13 -delete</code>. To make sure the command works as expected I ran <code>find . -mtime +13 -exec /bin/ls -lh '{}' \; | grep '&lt;today&gt;'</code>. The latter should return nothing, since files that were created/modified today should not be found by <code>find</code> using <code>-mtime +13</code>. To my surprise, however, <code>find</code> just spew out a list of all the files modified/created today! </p>