Sync Safari Bookmarks and History with Dropbox

After setting up dropbox to sync 1password I thought “why not bookmarks?”. Well, OS X makes it easy.

What I’ve done is sym link the bookmark.plist and histroy.plist to drop box. Symbolic links work like this in the terminal,

ln -s [TARGET DIRECTORY OR FILE] [SHORTCUT]

Here are the two easy steps I used to sync Safari Bookmarks and History.

  1. I created a Safari folder in Dropbox (found at  ~/Dropbox/Safari).
  2. Used the terminal to create the sym links (see below)
$ cd ~/Library/Safari/

$ ln -s ~/Dropbox/Safari/Bookmarks.plist Bookmarks.plist

$ ln -s ~/Dropbox/Safari/History.plist History.plist

Here’s a screenshot of the result.sync-safari-bookmarks-and-history-with-drop-box

To Sync, since it wont be done automatically. Just restart your browser.

Warning: I haven’t tested this extensively but it seems to work great. After a day on my work computer I just come home to restart webkit, the bookmarks then are updated..