Safari now uses a completely different method of storing cookies, which unfortunately means that the only decent management tool I ever found, Cocoa Cookies, doesn’t work any more.
So I rolled my own:
(/usr/libexec/PlistBuddy -c print
~/Library/Cookies/Cookies.plist |
awk '/Domain = / {x++;print x-1,$0}' |
awk '!/mee.nu|amazon/{print $1}' |
sort -rn | sed -e 's/^/delete :/';
echo save;echo quit) |
/usr/libexec/PlistBuddy
~/Library/Cookies/Cookies.plist
Note that you really don’t want to run this as-is, and probably want something more robust than a shell one-liner anyway. The bits that matter are: