Revisions for "Syncing Chrome & Safari Bookmarks Bidirectionally on macOS?"

Syncing Chrome & Safari Bookmarks Bidirectionally?
  • 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 :)

Syncing Chrome & Safari Bookmarks Bidirectionally on macOS?
- And Safari stores bookmarks at `/Users/username/Library/Safari/Bookmarks.plist`. The general formatting of items stored here [look like this image](https://cln.sh/Sb4eTK) (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 :)
Back to question