Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to clear out Chrome's history from the command line? I know that this history is also cached online, ideally it would be good to do this from the command line as well.

share|improve this question

1 Answer 1

The Google Chrome history files live in ~/Library/Application Support/Google/Chrome/Default. If you really, really want to delete browsing history from the command line (why?), I think removing the history files in this directory with a command line command/script would be the only way to go like this guy is doing. , as Google Chrome does not provide any ready-made commands or command switches for deleting history according to this list.

However, please consider this excerpt from the README-file:

Google Chrome settings and storage represent user-selected preferences and information and MUST not be extracted, overwritten or modified except through Google Chrome defined APIs.

So, do it at your own risk. I would experiment with deleting the history files of a test installation of Google Chrome and see what happens.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.