Firefox Bookmarks relocation on second partition

Asked by Sethra

Thunderbird:
My Thunderbird 'Local Folders' are on the second partition, formatted in ntfs, so the op-sys can be reinstalled at will without losing my emails. This is done through the 'Edit>Account Settings>Local Folders'. In my case, mounted as '/media/Data/Local Folders_05-01-2008'. This makes all my email separate and easy to save. Can I also reroute the settings/preferences?

The Documents, music, and picture folders are are also referenced to folders on that drive, leaving only the operating system on the main partition.

Firefox:
How do you put the Bookmarks and saved cookies and passwords from Firefox on a second partition, and still have them function? Can this be done?

Question information

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

You can move your ~/.mozilla folder to the other disk and symlink it into you homedir

stop firefox and thunderbird before doing this

then

mv ~/.mozilla /media/Data
ln -s /media/Data/ ~

(always backup important data before trying things like this)

Revision history for this message
Sethra (42margaret-clearwire) said :
#2

     Interesting, the bookmarks and other settings from the original home directory are wiped. No going back.

I used the same command for thunderbird: mv ~/.mozilla-thunderbird /media/Data

the second command: ln -s /media/Data/ ~ is redundant. Does that mean that the directory ~/media in its entirety is now on the Data volume?

Can I just link the ~/./mozilla folder and not the entire directory?

Revision history for this message
madeddie (madeddie) said :
#3

The bookmarks aren't gone, they should be in /media/Data/.mozilla, along with all other settings, but I made a typo, the command should've been

ln -s /media/Data/.mozilla ~

which links back the .mozilla dir on your external drive to your homedir. Probably your firefox recreated the .mozilla dir, so you will have to remove that from your homedir before creating the symlink with ln -s

Revision history for this message
Sethra (42margaret-clearwire) said :
#4

Now that I really look at the link command, of course. Thanks madeddie.