Poking around firefox's bookmarks store: places.sqlite
Today I wanted to retrieve some bookmarks that I made the other day on my home computer, from far away. Thankfully I can access my pooter over SSH, allowing me to poke around inside it on the command line.
Older versions of firefox stored bookmarks in XML files, which made it easy to rifle through them on the shell. Newfangled firefox uses sqlite files however, which makes accessing this data a bit harder.
Here’s some quick commands you can run to extract your precious URLs from firefox’s places.sqlite file.