![]() |
Cool Way to Export Chrome Bookmarks (medium to advanced users) (15 pics beware)
I noticed with Google Chrome, the only way to export your bookmarks is into an ugly formatted .html file.
like so. http://i.imgur.com/sFrrJ.jpg I ended up parsing this with sed like so Code:
sed '/<DT><A\|<DT><H3/!d;s/<DT>//;/Bookmarks bar/d;s/ ADD_DATE=\".*\"//g;s/^[ \t]*//;s/<A HREF/<a href/;s/[<H3|<A]/\L&/g' bookmarks.html Then I realized Google Chrome stores its data as a SqlLite Database, so You can parse it easily, here are the screenshots of me doing it so you can replicate it. Im using the desktop app navicat which lets you connect to different types of databases. http://i.imgur.com/krtyGh.jpg http://i.imgur.com/xCThKh.jpg http://i.imgur.com/x2YNHh.jpg http://i.imgur.com/JxEJih.jpg http://i.imgur.com/wL75Yh.jpg http://i.imgur.com/RAO8bh.jpg http://i.imgur.com/3cpNm.jpg http://i.imgur.com/vOHOl.jpg http://i.imgur.com/Yj57Jh.jpg http://i.imgur.com/jmk9Yh.jpg http://i.imgur.com/bu9L9h.jpg http://i.imgur.com/Papreh.jpg http://i.imgur.com/Ov6Eoh.jpg Hope this helps someone ;) :pimp |
kinda cool, but come on, if the process requires 15 steps and $500 software to do something as simple as "export bookmarks" = FAIL
I'll stick to regexping the html export... :) |
Quote:
|
Quote:
|
Your ICQ broken again??
|
This coding stuff makes my brain hurt
|
All times are GMT -7. The time now is 03:44 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123