Export Passwords from Chrome/Chromium

All over the Internet folks seem to be having problems with this. It's actually quite easy, from the command line.

First you have to locate your "Login Data" file that is part of your Chrome/Chromium profile. We're calling this your PROFILE_DIR

sqlite3 \
	-batch \
	"Login Data" \
	"select origin_url, username_value, password_value from logins;"