How do you export the Firefox bookmarks?

Asked by Jack

I just loaded Ubuntu 7.10 on my laptop. I used a new internal disk drive, didn't
want to have a dual-boot setup. How can I get my Firefox bookmarks off of my
XP disk so I can import them to my Firefox on Linux?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Solved by:
Jack
Solved:
Last query:
Last reply:
Revision history for this message
Jack (jax804) said :
#1

I found the bookmarks.html file located at the following location:
Program Files\Mozilla Firefox\defaults\profile

Revision history for this message
Vaida Bogdan (vaidab) said :
#2

There is a bookmarks.html file in Document and Settings\your name\Application Data\Mozilla\Firefox\Profiles\*some*characters*.default. Please follow the instructions here: http://kb.mozillazine.org/Lost_bookmarks -> Finding your bookmarks

Revision history for this message
Allen Chemist (alchemist) said :
#3

I guess I took too long to type this, the problem was solved during the time that I typed it. For anyone else who comes across this question, here is another answer :)

This should be a fairly simple thing to do.

If you 'boot in to windows', you can export your bookmarks using the Bookmarks -> Organize, then File -> Export. If you have some sort of adapter to allow you to use your windows hard drive like an external/portable hard drive, you can find the file in the following location:
C:\Documents and Settings\YOURNAME\Application Data\Mozilla\Firefox\Profiles\PROFILEID.default\bookmarks.html

PROFILEID should be the only folder within the "Profiles" folder. If it isn't, have a look in the Firefox directory (one up) at profiles.ini
[Profile0]
Name=default
IsRelative=1
Path=Profiles/xigbiyb7.default

So my 'default' profile is xigbiyb7.default

If you have a usb key, using windows copy this file onto it. You could also email it to yourself at an online email address like gmail or yahoo mail.

Next, boot back in to Linux. You can either "Import" the bookmark file by going Bookmarks -> Organise, then File -> Import.

Alternatively, save the bookmarks.html file to the following location:
/home/YOURUSERNAME/.mozilla/firefox/YOURNEWPROFILEID.default/bookmarks.html

YOURNEWPROFILEID can be found in the 'profiles.ini' file located in the 'firefox' folder on Linux.

Also note in the above path, .mozilla begins with a period, and is therefore hidden. You may need to view hidden files, or manually type the path.

Let me know if you have any problems!

-Allen