LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2005, 08:52 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
Import MY Favorites Into FireFox(Linux).


I have created my windows folder which monut my windows files at system startup, I do have my Favorites folder(IE html files) How can I import these files into my linux firefox....

I have more than 200 files I cant open each file at a time an add it....

Thanks.
 
Old 02-17-2005, 08:58 AM   #2
cliff76
Member
 
Registered: Feb 2005
Location: PA
Distribution: Fedora Core 3
Posts: 48

Rep: Reputation: 15
Do the import under Windows

I'm no expert at this myself but one thing I could suggest is that you run Firefox on your Windows partition and import your favorites there. you should then thoeretically be able to copy your mozilla profile directly from windows into Linux and use it. That never worked for me though. One thing I could do was drill into my Firefox profile folder and pull out the favorites file from my old Windows profile and copy it into my Linux profile.
 
Old 02-17-2005, 09:05 AM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
But as far as my knowledge says is that windows saves the files with .HTML and firefix saves it as (I don't Know).

Also is this is the directory where firefox saves my profile:

/root/firefox-installer/defaults/profile
 
Old 02-17-2005, 09:12 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I've done this before.

First, you should know that IE and Mozilla store bookmarks in a different way. IE stores bookmarks as a zillion different files in a directory tree. Mozilla Firefox stores bookmarks in a single file called bookmarks.html (the same format as Netscape). The former is easier to manipulate with a file manager, but is stupefyingly inefficient. The latter is easier to copy and share, but is nontrivial to directly edit.

So, first you go to a Windows computer with IE, and copy over the bookmarks to that copy of IE. Then install Mozilla Firefox or Mozilla or Netscape, and when it asks to import your bookmarks from IE say yes.

Now, you just need to find the copy of "bookmarks.html" and copy that file over to your Linux system. The easiest way to do this is to do a file search for "bookmarks.html" in the C: drive and find the one dated today (if there's more than one).

Once you've got your bookmarks.html file on your Linux system, you simply need to copy over your current bookmarks.html file. First, run Firefox at least once if you haven't done it already. This will create your user profile and the bookmarks.html file which you're going to overwrite.

Now, open a konsole and type in:

cd .mozilla
cd firefox
ls

You will see at least one directory with a weird randomly generated name. This is the place where your firefox profile is stored. Type in:

cd 98sfdg238dfs2.bigasslongname
ls

You should see a listing of files, including bookmarks.html. You can copy over this with the command:

cp ~/bookmarks.html .

This assumes you placed the new bookmarks.html file in your home directory.
 
Old 02-17-2005, 09:13 AM   #5
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
nope...the profile is at /home/yourname/.mozilla

the best way is to boot up windows, make firefox import all of IE's bookmarks, then in firefox click on bookmarks-> manage bookmarks -> export -> to a html file...then boot linux and open firefox and import that html file ...tadan!
 
Old 02-17-2005, 09:15 AM   #6
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally posted by amer_58
But as far as my knowledge says is that windows saves the files with .HTML and firefix saves it as (I don't Know).

Also is this is the directory where firefox saves my profile:

/root/firefox-installer/defaults/profile
No, that's where it installs the default profile, including default bookmarks. Whenever a new user starts up firefox, it copies that profile to one in the user's home directory. For reasons probably best known to some obscure Mozilla developer, this profile directory is given a bizarro randomly generated directory name.
 
Old 02-17-2005, 09:18 AM   #7
cliff76
Member
 
Registered: Feb 2005
Location: PA
Distribution: Fedora Core 3
Posts: 48

Rep: Reputation: 15
Yeah bookmarks.html. That's what I was tlaking about initially. Import into Firefox on your Windows partition (or another windows machine) then copy the bookmarks.html from your windows %home-folder%\.mozilla\profiles folder into your linux /home/yourusername/.mozilla folder. I still don't know why the entire profile cannot be shared between Windows and Linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Import firefox bookmarks from FAT/NTFS snecklifter Programming 1 08-09-2005 01:55 PM
Favorites colinstu General 4 06-17-2005 11:48 AM
How do I enlarge the menu for favorites and news feeds in firefox? bruno buys Linux - Software 0 05-06-2005 09:46 PM
import IE favorites, hard drive partitioning jtan325 Linux - Newbie 2 02-02-2005 08:40 AM
Import sys ?bash: import: command not found joirnange Linux - Newbie 4 12-28-2004 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration