Clearing Chrome's cache, cookies, etc via command line? (OSX) Clearing Chrome's cache, cookies, etc via command line? (OSX) google-chrome google-chrome

Clearing Chrome's cache, cookies, etc via command line? (OSX)


In OS X, your Chrome cache is located at:

/Users/[username]/Library/Caches/Google/Chrome/Default/

To delete the cache you could type:

rm -rf /Users/[username]/Library/Caches/Google/Chrome/Default/Cache/

There is also a media cache in there that you can nuke:

rm -rf /Users/[username]/Library/Caches/Google/Chrome/Default/Media\ Cache/

Other Chrome data is located at:

/Users/[username]/Library/Application Support/Google/Chrome/


Try this

Clear Chrome Cache

rm -R /Users/*/Library/Caches/Google/Chrome/Default/Cache


You can clear specific cookies from Chrome, by using sqlite and its command line interface.

Here's a post on Superuser on how to do this:https://superuser.com/a/920604