title: Find -type d with no subfolders
body: <p>Good morning ! </p>
  
  <p>This is a simple one I believe, but I am still a noob :)</p>
  
  <p>I am trying to find all folders with a certain name. I am able to do this with the command </p>
  
  <pre><code>find /path/to/look/in/ -type d | grep .texturedata
  </code></pre>
  
  <p>The output gives me lots of folders like this : </p>
  
  <pre><code>/path/to/look/in/.texturedata/v037/animBMP
  </code></pre>
  
  <p>But I would like it to stop at .texturedata :</p>
  
  <pre><code>/path/to/look/in/.texturedata/
  </code></pre>
  
  <p>I have hundreds of these paths and would like to lock them down by piping the output of grep into <code>chmod 000</code></p>
  
  <p>I was given a command with the argument <code>-dpe</code> once, but I have no idea what it does and the Internet has not be able to help me determine it's usage</p>
  
  <p>Thanks you very much for your help !</p>