Free tech support / small logo


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.







Subscribe!
Never miss another Q&A article! Click to subscribe: Add to Google Reader Add to My Yahoo! Subscribe in NewsGator RDF XML
Comments

I cannot find the ~/Library/Safari folder on my WIN7 unit...Where is it...Is it hidden?

Posted by: larry coleman at July 25, 2011 3:49 PM

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 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.









Recent Entries


Search
I Need Help!
Need Help? Ask Dave Taylor!


© 2002 - 2012 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.