Jump to content


Firefox Bookmarks Location?


  • Please log in to reply
17 replies to this topic

#1 OFFLINE   Cluttermagnet

Cluttermagnet

    Nocturnal Radio Geek

  • Forum MVP
  • 3,869 posts

Posted 12 May 2008 - 04:37 AM

I've had this problem before. Being new to Linux, I have trouble locating things or remembering where they live on my drive. Even after a year's experience with Ubuntu, I have again forgotten where Firefox's bookmarks.html is stored in my file system in Ubuntu. I looked first. Wasted darned near 20 minutes and still haven't figured out where the file lives. It is taking me a long time to learn this file system because I just don't do this sort of thing often enough.BTW I was able to locate the file itself with a search. And I know it's there and working. All I need to know is the *exact address on my hard drive*. I'm going to make copies to put on other machines (after I do a thorough cleaning of my bookmarks using the Firefox bookmarks manager).
Special Limited Edition Cluttermaster 2007 with direct air cooling system.
"ClutterLabs" --open hardware for open software" .......... Registered Linux User 446867


("It takes an entire village to raise a child...")
"It takes only one bulldozer to raze an entire village..."
"Hey, Fred- isn't that your kid driving that bulldozer?"

In loving memory of Bruno Knaapen of Amsterdam, who shared
his love of Linux, and thereby made the world a better place...

#2 OFFLINE   striker

striker

    handyman

  • Honorary Moderators
  • 8,509 posts

Posted 12 May 2008 - 06:19 AM

Open up a terminal and issue :
$ su$ <root password goes here># updatedb# exit$ locate bookmarks.html
It'll show you exactly where it is.What the above does is this:To be able to search for the file you first have to update the 'search-database' with the updatedb command, being issued as root: that's why the su is used. Immediately thereafter you log out as root, no need to stay root any longer.You then issue the search command 'locate somefile' and the program searches for it.note: After the 'updatedb' command wait a few moment until the prompt comes back, in the mean time the program updates its database: this can take a couple of minutes to less than one second, depending on when you updated the database last time.On my MDV2008.1 (KDE) it is at:/home/my_username/.mozilla/firefox/some_number.default ;) When doing this on my system it shows:

Quote

$ locate bookmarks.html/home/my_username/.local/share/codeina/mozembed/bookmarks.html/home/my_username/.mozilla/firefox/some_number.default/bookmarks.html <------- this is the one/home/my_username/Deposit/ff_ext/bookmarks.html<------ my personal copy of it/usr/lib64/firefox-2.0.0.13/defaults/profile/bookmarks.html/usr/share/drakfirsttime/firefox/drakfirsttime/bookmarks.html
From experience I know where to look, (the /home directory in the hidden (!) .mozilla directory), and sure it is there.
Striker
still the same...

#3 OFFLINE   Urmas

Urmas

    GUI Penguin

  • Forum Moderators
  • 4,060 posts

Posted 12 May 2008 - 06:34 AM

Yup. Ubuntu Hardy/FF3:/home/my_username/.mozilla/firefox/some_number.default/bookmarks.html ;)

Posted Image


#4 OFFLINE   Cluttermagnet

Cluttermagnet

    Nocturnal Radio Geek

  • Forum MVP
  • 3,869 posts

Posted 12 May 2008 - 06:37 AM

Thanks, striker-The search
$ locate bookmarks.html
did just fine. It is at /home/clutter/.mozilla/firefox/nnnn.default/bookmarks.html.Two things had thrown me off- the need to enable 'view hidden folders'; also just remembering that my profile is represented by a 'gobbledygook' arbitrary number. When I looked for it before, it was actually hiding in plain sight. I didn't realize/ remember that the unique 'garbage' number file should be opened. I'm rusty at this. I think that in Windows I used to get stronger clues because there was a higher level folder titled "preferences". Such a folder name is not in Ubuntu.Edit: Hmmm- actually, as I look at the search results more, I suspect the right one might be in /etc/firefox/profile/bookmarks.html. There were 3 results to my search. The one I listed above is probably just  the tiny default bookmarks from Mozilla. My actual bookmarks has swollen to around 2.7M. It won't be too hard to figure out which one it is. :hysterical:Nope- the one in /etc/profile,,, is only 31K, and the one is /home/clutter/.firefox... is 2.7M, so that's the one.

Edited by Cluttermagnet, 12 May 2008 - 07:20 AM.

Special Limited Edition Cluttermaster 2007 with direct air cooling system.
"ClutterLabs" --open hardware for open software" .......... Registered Linux User 446867


("It takes an entire village to raise a child...")
"It takes only one bulldozer to raze an entire village..."
"Hey, Fred- isn't that your kid driving that bulldozer?"

In loving memory of Bruno Knaapen of Amsterdam, who shared
his love of Linux, and thereby made the world a better place...

#5 OFFLINE   Cluttermagnet

Cluttermagnet

    Nocturnal Radio Geek

  • Forum MVP
  • 3,869 posts

Posted 12 May 2008 - 07:09 AM

View PostUrmas, on May 12 2008, 06:34 AM, said:

Yup. Ubuntu Hardy/FF3:/home/my_username/.mozilla/firefox/some_number.default/bookmarks.html ;)
Thanks, Urmas-I had figured out the 'show hidden files' thing on my own, but the goobledygook number for the default profile folder had thrown me for a loop. Got it. I'm back up to speed (I guess). I got rusty... I just need to do work with files and folders more often. In 98SE, I pretty much knew them cold.BTW someone in this forum, you? striker? had listed a url to a real nice 'organizational chart' which shows a generic Linux file structure. I printed it out and have found it quite helpful.P.S. Hey, I'm up to 13 computers now. I just built a couple more. I have 2 of them 'out there' with other users. The rest are at home. Of those, 8 are pretty recent, P4 types. 6 of the 8 presently work, 2 are either being canibalized for parts and/or rebuilt. I think I'm going to farm out a couple more of them to others. I always talk up Linux OS's when the opportunity comes around. I have had 2 such conversations just in the past week. Heh! :thumbsup:Oh, and of course there either is or will be a copy of a Linux OS on each and every one.  I think I have just 1 Windows only box left here. It is getting a copy of Mandriva or maybe Sidux very soon. And PClos on another one, and so on... :whistling:

Edited by Cluttermagnet, 12 May 2008 - 07:26 AM.

Special Limited Edition Cluttermaster 2007 with direct air cooling system.
"ClutterLabs" --open hardware for open software" .......... Registered Linux User 446867


("It takes an entire village to raise a child...")
"It takes only one bulldozer to raze an entire village..."
"Hey, Fred- isn't that your kid driving that bulldozer?"

In loving memory of Bruno Knaapen of Amsterdam, who shared
his love of Linux, and thereby made the world a better place...

#6 OFFLINE   Urmas

Urmas

    GUI Penguin

  • Forum Moderators
  • 4,060 posts

Posted 12 May 2008 - 08:03 AM

View PostCluttermagnet, on May 12 2008, 02:09 PM, said:

P.S. Hey, I'm up to 13 computers now. I just built a couple more.
:whistling:  ;)

Posted Image


#7 OFFLINE   Cluttermagnet

Cluttermagnet

    Nocturnal Radio Geek

  • Forum MVP
  • 3,869 posts

Posted 12 May 2008 - 10:17 AM

View PostUrmas, on May 12 2008, 08:03 AM, said:

;)  :whistling:
Yep :huh:  ;)
Special Limited Edition Cluttermaster 2007 with direct air cooling system.
"ClutterLabs" --open hardware for open software" .......... Registered Linux User 446867


("It takes an entire village to raise a child...")
"It takes only one bulldozer to raze an entire village..."
"Hey, Fred- isn't that your kid driving that bulldozer?"

In loving memory of Bruno Knaapen of Amsterdam, who shared
his love of Linux, and thereby made the world a better place...

#8 OFFLINE   striker

striker

    handyman

  • Honorary Moderators
  • 8,509 posts

Posted 12 May 2008 - 10:44 AM

I think you mean either one of those, the first one Urmas posted some time ago:http://geek2live.blo...-structure.htmlIt's not my fav because it's completely wrong, while using all uppercase... and you know how the filesystem structure in linux looks by now...So one which looks better is this one:http://www.debianadm...e-overview.html ;)The best however (imo) is this oldie from the SuSE linux 8.2 User Guide which I still have here:http://www-uxsup.csx...l#sec:files.dirand another one from 10.1 can be found here:http://elibrary.fult...l.html#sec.bash(scroll down to 3.1.2. Linux Directory Structure ) ;)
Striker
still the same...

#9 OFFLINE   tommyj12

tommyj12

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 766 posts

Posted 12 May 2008 - 10:55 AM

You may wanna check out foxmarks. I love it and it works across platforms for me. Saves them all to a server, and will sync them all together for you.

#10 OFFLINE   cybormoron

cybormoron

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,159 posts

Posted 12 May 2008 - 11:16 AM

another endorsement for foxmarks from me as well. it's a must have.another good trick is to email a copy to yourself. you need 2 web email accounts for this. just export the html file to your desktop (or wherever), send to your yahoo from gmail or vice versa. i have stuff that is 5 years old in my yahoo accounts, so i would say it works good. my problem is that i have so many bookmarks files i can't find what i'm looking for, lol.

Edited by cybormoron, 12 May 2008 - 11:17 AM.

steve
I'm a pc, running GNU/Linux.

#11 OFFLINE   striker

striker

    handyman

  • Honorary Moderators
  • 8,509 posts

Posted 12 May 2008 - 12:08 PM

The fastest backup ever: just copy your bookmarks.html to a SD card, works on all OS where you need it. ;)
Striker
still the same...

#12 OFFLINE   zlim

zlim

    It's me, plodr

  • Forum MVP
  • 7,148 posts

Posted 12 May 2008 - 06:30 PM

Quote

I'm going to make copies to put on other machines
You don't have to search for the location to do this.Highlight Bookmarks and select Organize Bookmarks. Click on File then export and copy to a USB stick or SD card as striker mentioned. Mine still fit on a floppy, LOL.I archive them every few weeks just so I have a current copy.Then I can copy them (like to my new eeepc).To copy do the steps above but select import.
Liz
Registered Linux User # 401459
Posted Image

#13 OFFLINE   BillD

BillD

    Posting Prodigy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,236 posts

Posted 12 May 2008 - 07:52 PM

In PCLos, Mandriva, etc., where you have a "home" folder, the bookmarks are easy to find in the .mozilla/firefox identity and you can copy them from there (or put them in) without this export, import nonsense.  The problem with Ubuntu, finding home was a problem for me  ;) Bill
Register Linux User # 412551

#14 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,517 posts

Posted 13 May 2008 - 12:55 AM

On my system:/home/vtel57/.mozilla/firefox/xqx2hvq4.default/bookmarks.html

#15 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 13 May 2008 - 07:04 PM

They are virtually always in your home/yourname/.mozilla.  All you have to do is browse to there.  USB is a slick way to do it.  I kept a backup of mine on my gmail or yahoo account (any account that held the files on line) so I could access them from anywhere.  I did the same thing with a copy of my boot up instructions and my file structure for each machine so I could repair, do whatever, easily. B)
Teacher
Beach Bum Extraordinaire

#16 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 13 May 2008 - 08:40 PM

Hi Julia and all!I do the same regarding a copy of my bookmarks ( either/both my gmail and yahoo account ) this way I don't have to search for that grrr usb drive all the time and having a copy on both email accounts I know that I won't loose them.
registered linux user #374889

#17 OFFLINE   Cluttermagnet

Cluttermagnet

    Nocturnal Radio Geek

  • Forum MVP
  • 3,869 posts

Posted 16 May 2008 - 09:16 AM

Thanks guys-A busy week here, but I did get all your great suggestions. Thanks!Striker, it was the first link which I had printed. Yes, the caps were annoying, but still it was a useful chart. The following links you provided are indeed better. I bookmarked all, and will print the rest. :) Teacher and Zlim, I did use a couple of USB flash drives to save bookmarks.html this time.Cyber and Tommy, I will look into Foxmarks. I like the cross platform idea. Neat!To everyone else- I eventually did find it, but I needed help. I find it amusing now, but it just goes to show how rusty I was. I think what threw me off is the lack of context in Ubuntu. I'm used to finding my profile in 98SE a little more clearly labeled, i.e. under an up-level folder labeled "Profiles", as I remember. Given that context, the random number stands out. Lacking that context, I kept blowing right by it. D'oh! (slaps self in forehead) :P  :clap:
Special Limited Edition Cluttermaster 2007 with direct air cooling system.
"ClutterLabs" --open hardware for open software" .......... Registered Linux User 446867


("It takes an entire village to raise a child...")
"It takes only one bulldozer to raze an entire village..."
"Hey, Fred- isn't that your kid driving that bulldozer?"

In loving memory of Bruno Knaapen of Amsterdam, who shared
his love of Linux, and thereby made the world a better place...

#18 OFFLINE   striker

striker

    handyman

  • Honorary Moderators
  • 8,509 posts

Posted 16 May 2008 - 04:23 PM

View PostCluttermagnet, on May 16 2008, 02:16 PM, said:

Thanks guys-A busy week here, but I did get all your great suggestions. Thanks!Striker, it was the first link which I had printed. Yes, the caps were annoying, but still it was a useful chart. The following links you provided are indeed better. I bookmarked all, and will print the rest. B) Teacher and Zlim, I did use a couple of USB flash drives to save bookmarks.html this time.Cyber and Tommy, I will look into Foxmarks. I like the cross platform idea. Neat!To everyone else- I eventually did find it, but I needed help. I find it amusing now, but it just goes to show how rusty I was. I think what threw me off is the lack of context in Ubuntu. I'm used to finding my profile in 98SE a little more clearly labeled, i.e. under an up-level folder labeled "Profiles", as I remember. Given that context, the random number stands out. Lacking that context, I kept blowing right by it. D'oh! (slaps self in forehead) :w00t:  ;)
Oh, you have those moments too ? :D Glad I'm not the only one. ;)
Striker
still the same...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users