Syncing Chrome & Safari Bookmarks Bidirectionally on macOS?
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x
  • And Safari stores bookmarks at /Users/username/Library/Safari/Bookmarks.plist. The general formatting of items stored here look like this image (sorry, I will try and get the actual text here as well).

As far I can tell, what I want is to be able to scan this file and convert each item under Children to Chrome’s Bookmarks (below)

  • Chrome stores bookmarks at /Users/username/Library/Application Support/Google/Chrome/Default/Bookmarks. The general formatting of each item here appears to be as follows:
other
    {
"date_added": "13256523259723769",
  "guid": "3546e7c4-4c57-4e77-b124-a9be9230f44e",
  "id": "22",
  "name": "Netflix",
  "type": "url",
  "url": "https://www.netflix.com/browse"
}

What I’d love is a script that compared the data in each of these files and adds what is missing (e.g., bidirectional syncing) to the other file. If that’s asking too much, though, I understand—having it go one-way would be nice as well. Is something like this possible? Please let me know if there’s more info that I can provide to lead to some answers. I really appreciate any help you can provide. Willing to add more to the bounty on delivery :)

awarded to evancejaye
Tags
chrome
safari

Crowdsource coding tasks.

2 Solutions

Winning solution

Hi there, here is a one direction (From chrome to Safari) bookmark import script written in Apple Script:
Download Link: https://we.tl/t-1epIX7y5Fe

save it with a .scpt file extension and run it on terminal as:

$: osascript /pat/to/your/sync_file_name.scpt

Note: You might want to make sure you allow terminal on some privacy options. Still working on the other end. If i find a breakthrough i will update you.

This is genius—I didn't consider approaching it this way at all (obviously). Very interesting, thank you! I will tinker with this some more to see if I can't use some similar logic to go the other way as well. Thanks!
lovemealatte 1 month ago
View Timeline