Created
January 3, 2024 08:23
-
-
Save kkroesch/9d789b6d81d0ceeab48f24da9fe049f3 to your computer and use it in GitHub Desktop.
Extract all URLs from Brave Bookmarks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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