title: cronjob to remove files older than 99 days
body: <p>I have to make a cronjob to remove files older than 99 days in a particular directory but I'm not sure the file names were made by trustworthy Linux users. I must expect special characters, spaces, slash characters, and others.</p>
  
  <p>Here is what I think could work:</p>
  
  <pre><code>find /path/to/files -mtime +99 -exec rm  {}\;
  </code></pre>
  
  <p>But I suspect this will fail if there are special characters or if it finds a file that's read-only, (cron may not be run with superuser privileges). I need it to go on if it meets such files.</p>