title: How to ignore directories in OpenGrok index?
body: <p>I am trying to setup OpenGrok to search through a few GB of code, mostly Java and Python projects. I use <code>opengrok-0.12.1/bin/OpenGrok index $SRC_ROOT</code> to build the index. I can see it indexing Java's "target" and Python's ".tox" directories which I don't need.</p>
  
  <p>I searched online and found the same question in many forums, and the answer being to use -i. I have tried to use this option with both the OpenGrok wrapper script as well as opengrok.jar, but all I get is the help message (because the command line options were apparently wrong).</p>
  
  <p>Could you give me an example command to build indices that ignore certain directories?</p>