title: Shell script - find: missing argument to `-exec'
body: <p>I'm trying to run this script:</p>
  
  <pre><code>alias logs="cd L:/"
  find $logs -name '*system.log*' -mtime +14 -exec rm {} \;
  </code></pre>
  
  <p>But get this error: find: missing argument to `-exec'. I've tried looking at other posts on this but can't get it working. I'm using cygwin to run this script on Windows. </p>