Organizing Firefox bookmarks with Freemind
Here’s how you can organize your Firefox, Camino, Mozilla, Netscape, and even Internet Explorer bookmarks (they all use the same file format) using Freemind.
Note that on my system, Freemind resides at ~/freemind and my
bookmarks reside at ~/.mozilla/firefox/**default/bookmarks.html.
Install the necessary file conversion tools:
sudo apt-get install xbel xbel-utils xsltprocNetscape to XBEL conversion:
ns_parse ~/.mozilla/firefox/**default/bookmarks.html bookmarks.xbelXBEL to Freemind conversion:
xsltproc -o bookmarks.mm ~/freemind/accessories/xbel2mm.xsl bookmarks.xbelOrganize your bookmarks using Freemind:
freemind.sh bookmarks.mmFreemind to XBEL conversion:
xsltproc -o bookmarks_new.xbel ~/freemind/accessories/mm2xbel.xsl bookmarks.mmXBEL to Netscape conversion:
xbel_parse --netscape < bookmarks_new.xbel > bookmarks_new.htmlOnce you are satisfied with your newly organized bookmarks (
bookmarks_new.html), you can overwrite the old ones:mv bookmarks_new.html ~/.mozilla/firefox/*default/bookmarks.html