How can I reset Safari 8 cookies from the command line?
I've read the question Reset Safari from command line which seems to work fine for Safari 7, but this method no longer seems to work with Safari 8 (on Mac OS X Yosemite).
It appears that the
~/Library/Caches/com.apple.Safari/ is the location where Safari stores the files, but if I quit safari, delete that directory, and then restart Safari, the files that were there just come back. Safari must be storing the data elsewhere, too - but I can not find this location.
I have tried also doing
killall cookied and
killall -9 cookied and also killing
SafariNotificationAgent but this seems to have no effect.
I have attempted to watch what files are being accessed by Safari using
sudo fs_usage Safari but this does not give me much help, either.
I have also researched "alternatives" that would yield the same result without luck:
- A way to start Safari in Private Browsing mode ( only found a hacky applescript way to do it )
- A way to clear all cookies on exit - maybe an extension? ( no luck with this, either )
The method from the link above to work fine on Safari 7.
How can the same thing be done with Safari 8?