Created
February 23, 2012 16:35
-
-
Save tjluoma/1893654 to your computer and use it in GitHub Desktop.
this will delete all of Safari's cookies, local storage (including website previews) and database files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# LogoutHooks run as root, which is why you have to | |
# use logname to make sure you are cleaning out the right files | |
cd ~`/usr/bin/logname` && | |
/bin/rm -rf \ | |
Library/Cookies/Cookies.binarycookies \ | |
Library/Caches/com.apple.Safari/* \ | |
Library/Safari/LocalStorage/* \ | |
Library/Safari/Databases/* | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment