I would like to delete all Safari cookies from terminal on Mac OS 10.7.2.
I tried to delete
~/Library/Cookie/Cookies.binarycookies (this is the only file in
~/Library/Cookie), but it didn't help.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You need to stop the
cookied process. It's a user-specific process that manages cookies, and recreates the cookies database whenever it's deleted.
When you launch Safari the next time,
cookied will not be able to recreate the
Cookies.binarycookies file from memory and will start with an empty cookies database. The file that will be created then will effectively be empty (<1kb).