Merge branch 'master' of waschsauger.bl0rg.net:dirty-helpers

This commit is contained in:
neingeist 2017-02-02 00:23:17 +01:00
commit 11f23681c9

6
list-firefox-bookmarks Executable file
View file

@ -0,0 +1,6 @@
#!/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"