You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
322 B
Bash

#!/bin/sh
# List Firefox bookmarks
places=~/.mozilla/firefox/*default*/places.sqlite
# tags are parents with their parent = 4, so these have to be filtered
sqlite3 $places "select pl.url, b.title from moz_bookmarks as b join moz_bookmarks as pa on b.parent=pa.id join moz_places as pl on b.fk=pl.id where pa.parent != 4"