title: How do I programmatically delete cookies in Safari 8.0 on OS X 10.10 (Yosemite)
body: <p>In Safari 8.0 (10600.1.25.1) on OS X 10.10.1 (Yosemite), I visit some sites like google.com, apple.com, facebook.com and can then see the cookies when I click "Safari" -> "Preferences..." -> "Privacy" -> "Details..."</p>
  
  <p>I then quit Safari completely (actually quit, not just close the window), and delete the following things using the following.</p>
  
  <p><code>
  rm -r ~/Library/Caches/com.apple.Safari/
  rm -r ~/Library/Cookies
  rm -r ~/Library/Safari
  </code></p>
  
  <p>When I restart Safari, the cookies are still there and I'm still logged in to a website that stored a cookie after login.</p>
  
  <p>Which files do I need to delete or what do I have to do to get Safari to actually delete the cookies?</p>
  
  <p>I need to be able to move/rename the files/directories and then move them back at a later time.  Cocoa Cookies can delete the cookies (<a href="http://ditchnet.org/cocoacookies/" rel="nofollow">http://ditchnet.org/cocoacookies/</a>) and when I use <a href="https://github.com/emcrisostomo/fswatch" rel="nofollow">fswatch</a> there are no interesting files that change.</p>