A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
docs: Update CLI importing docs to better handle large collections (#630)
Bjorn Monnense57937e11832
diff --git a/docs/versioned_docs/version-v0.18.0/10-import.md b/docs/versioned_docs/version-v0.18.0/10-import.mdindex b4e31d44..b2cb0dbf 100644--- a/docs/versioned_docs/version-v0.18.0/10-import.md+++ b/docs/versioned_docs/version-v0.18.0/10-import.md@@ -36,6 +36,19 @@ If you can get your bookmarks in a text file with one link per line, you can usecat all_links.txt | xargs -I{} hoarder --api-key <key> --server-addr <addr> bookmarks add --link {}```+alternatively if you get the error (xargs: command line cannot be assembled, too long), this means your URL is to long. Following bash script can be used to import a file that contains the URLs++```+#!/bin/bash++api_key="<key>"+server_addr="<addr>"++while IFS= read -r url; do+ hoarder --api-key "$api_key" --server-addr "$server_addr" bookmarks add --link "$url"+done < all_links.txt+```+## Exporting Bookmarks from Chrome- Open Chrome and go to `chrome://bookmarks`