Firefox 3 changed the way bookmarks are stored on the computer. Before they were simply saved in a bookmarks.html file in the user's profile folder and it was easy to add the browser.bookmarks.file parameter in about:config to change the location manually.
The new Firefox introduces a database driven design and bookmarks are now stored in the places.sqlite file in the profile folder.
The problem that arises is that the parameter that worked in Firefox 2 to change the location of bookmarks on the local system does not work in Firefox 3 anymore.
Currently there is only one solution to move the bookmarks in Firefox 3 to another folder. Before I explain how this is done I would like to point out why someone would want to move the bookmarks to another folder.
One reason is synchronization. Placing them on a network drive for instance ensures that another computer can also access the bookmarks.
Update: Mozilla introduced Firefox Sync in recent versions of the browser. This data synchronization service makes sure that bookmarks are synced across all linked devices so that you don't need to move bookmarks anymore for it.
Another reason might be security, bookmarks can obviously be stored on an encrypted hard disk so that no one could access them unless the encrypted hard disk is mounted. It would also make sense to place them in a location so that different profiles (on the same computer) can access the same bookmarks.
The only viable way of moving the bookmarks in Firefox 3 is by using symbolic links. Symbolic links are supported under Linux and Windows NTFS drives. I'm not sure about Macintosh though. A symbolic link basically is a forwarded link that tells the operating system to look at another place for the file.
The command for Linux is
ln -s target_filename symlink_filename while Windows users could use the Junction tool by Sysinternals to achieve the same results. Junction is a command line tool that you use in similar fashion.
To create a junction from one folder to another, use junction folder1 folder2, e.g. junction e:\bookmarks c:\bookmarks. Note tzhat this moves the whole folder and all of its files and not just individual files you specify.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.