title: Print the directory where the 'find' linux command finds a match
body: <p>I have a bunch of directories; some of them contain a '.todo' file.</p>
  
  <pre><code>/storage/BCC9F9D00663A8043F8D73369E920632/.todo
  /storage/BAE9BBF30CCEF5210534E875FC80D37E/.todo
  /storage/CBB46FF977EE166815A042F3DEEFB865/.todo
  /storage/8ABCBF3194F5D7E97E83C4FD042AB8E7/.todo
  /storage/9DB9411F403BD282B097CBF06A9687F5/.todo
  /storage/99A9BA69543CD48BA4BD59594169BBAC/.todo
  /storage/0B6FB65D4E46CBD8A9B1E704CFACC42E/.todo
  </code></pre>
  
  <p>I'd like the 'find' command to print me only the directory, like this</p>
  
  <pre><code>/storage/BCC9F9D00663A8043F8D73369E920632
  /storage/BAE9BBF30CCEF5210534E875FC80D37E
  /storage/CBB46FF977EE166815A042F3DEEFB865
  ...
  </code></pre>
  
  <p>here's what I have so far, but it lists the '.todo' file as well</p>
  
  <pre><code>#!/bin/bash
  STORAGEFOLDER='/storage'
  find $STORAGEFOLDER -name .todo  -exec ls -l {} \;
  </code></pre>
  
  <p>Should be dumb stupid, but i'm giving up :(</p>