Skip to content

Instantly share code, notes, and snippets.

@kkroesch
Created January 3, 2024 08:23
Show Gist options
  • Save kkroesch/9d789b6d81d0ceeab48f24da9fe049f3 to your computer and use it in GitHub Desktop.
Save kkroesch/9d789b6d81d0ceeab48f24da9fe049f3 to your computer and use it in GitHub Desktop.
Extract all URLs from Brave Bookmarks
# Windows:
cd C:\Users\kkroesch\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default
# Linux
cd $HOME/.config/BraveSoftware/Brave-Browser/Default/
jq '[recurse(.[]?) | select(type == "object" and .children != null) | .children[] | {date_added, name, url}] | {bookmark: .}' Bookmarks > bookmarks.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment