Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, Apple iPhone, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

How do I keep my Safari bookmarks in sync?

Dave, I have a number of different computers running Mac OS X, and would like to keep my Safari bookmarks in sync. I don't necessarily need to to have these bookmarks accessible within other Web browsers (though it'd be a bonus if Firefox saw them too) but if I designate one as my master bookmark file, is there any way to have my other Safari browsers stay synchronized?

Dave's Answer:

Safari bookmarks are stored in your ~/Library/Safari folder, so at it's most basic, you can easily copy the bookmarks file from machine to machine.

The format of this file is kinda funky, it's not a simple HTML-based file as with most other Web browsers, but rather a hard-to-read XML datafile that is faster for programs to parse, but pretty much impossible for us wetware to eyeball.

In this instance, I'm going to assume that the machines are networked and that the remote system is called "Laptop" and that it's already connected.

$ cd ~/Library/Safari
$ cp Bookmarks.plist \
/Volumes/Laptop/Users/taylor/Library/Safari
$ cd
This will overwrite the laptop's bookmark list and, in a rather aggressive way, synchronize the two bookmark lists.

If you can't get the two to network because they're in different locations, you can easily email the bookmarks.plist file to yourself then retreive it on the remote system, or upload it to a central backup disk or server (that is, something like .Mac or a Web server).

Digging around a bit, Firefox has a really weird way of storing its bookmarks too (even though it's ostensibly an HTML file) so automatically syncing the two with some code looks pretty tough. The Firefox bookmarks are stored, on my system, in /Users/taylor/Library/Application Support/Firefox/Profiles/6j6l7kgv.default/bookmarks.html, but if that weird directory path isn't enough to make you say "hmmmm...." then check out the first few lines of the file itself:

$ head bookmarks.html
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1 LAST_MODIFIED="1103387323">Bookmarks</H1>

<DL><p>
    <DT><H3 PERSONAL_TOOLBAR_FOLDER="true" ID="rdf:#$FvPhC3">Bookmarks Toolbar Folder</H3>
The good news is that if you really need to keep everything in sync, there are a number of slick shareware and freeware Web browser bookmark synchronization tools available on the Mac, including BookmarkTool, URLManager Pro (which looks like the best of the bunch), and Bookit.


Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments
Rather amazingly, there are no comments on this article yet.

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.








Ask Dave Taylor: The iPhone App: Advertisement


Uniblue: Free Virus Scan

Follow me on Twitter @DaveTaylor

Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Book Links
© 2002 - 2009 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.