From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id lwdbLj5T4F+vXAAA0tVLHw (envelope-from ) for ; Mon, 21 Dec 2020 07:48:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uHjXKT5T4F9sLAAAB5/wlQ (envelope-from ) for ; Mon, 21 Dec 2020 07:48:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 06B5F9404C2 for ; Mon, 21 Dec 2020 07:48:13 +0000 (UTC) Received: from localhost ([::1]:50472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krFvP-0004pn-2r for larch@yhetil.org; Mon, 21 Dec 2020 02:48:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krFuw-0004ph-7C for emacs-orgmode@gnu.org; Mon, 21 Dec 2020 02:47:42 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:60295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krFuu-0004tU-24 for emacs-orgmode@gnu.org; Mon, 21 Dec 2020 02:47:41 -0500 Received: from localhost ([::ffff:41.202.241.37]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000029535C.000000005FE05318.00001776; Mon, 21 Dec 2020 00:47:36 -0700 Date: Mon, 21 Dec 2020 10:44:31 +0300 From: Jean Louis To: emacs-orgmode@gnu.org Subject: Tip: How to quickly transform Firefox/Iceweasel/Icecat bookmarks to Org file Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_DOTEDU=1.999 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 06B5F9404C2 X-Spam-Score: -1.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9LfgRvoqpB/M As Firefox and derived browsers store bookmarks in the file `places.sqlite' one may access the file with `sqlite3' utility and use SQL query to get a list of all bookmarks and transform them into Org file. 1. Locate your `places.sqlite' file on your system, it must be in your Firefox profile. As I am using Hyperbola GNU/Linux-libre it is in `~/.hyperbola/iceweasel/uxp/PROFILE-NAME-HERE/places.sqlite' 2. Use the `sqlite3' command and the script below to export to `captured.org' $ sqlite3 ~/.hyperbola/iceweasel-uxp/co46wr2o.default/places.sqlite "SELECT moz_places.title, moz_places.url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk AND moz_places.title IS NOT NULL;" | gawk -F \| '{ print "* " $1 "\n\n[["$2"]["$1"]]\n"}' > captured.org That is very handy as it produces a file like below: * linux - Can I spy on an X-session if I am logged in as root? - Server Fault [[https://serverfault.com/questions/268518/can-i-spy-on-an-x-session-if-i-am-logged-in-as-root][linux - Can I spy on an X-session if I am logged in as root? - Server Fault]] * Howto: Remote the native X server (i.e. the ":0" X display) using VNC [Archive] - Ubuntu Forums [[https://ubuntuforums.org/archive/index.php/t-279069.html][Howto: Remote the native X server (i.e. the ":0" X display) using VNC [Archive] - Ubuntu Forums]] * Tensor tympani muscle - Wikipedia [[https://en.wikipedia.org/wiki/Tensor_tympani_muscle#Voluntary_control][Tensor tympani muscle - Wikipedia]] * Logo and Natural Language [[https://el.media.mit.edu/logo-foundation/what_is_logo/logo_and_natural_language.html][Logo and Natural Language]]