comparison bin/make_new_tabs.sh @ 2:f9d4af74e3d0

convert firefox bookmarks file to xml, e.g. for making a new ~/u/New_Tabs.py
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 18 Aug 2026 15:38:14 +0100
parents
children
comparison
equal deleted inserted replaced
1:95740c6658a3 2:f9d4af74e3d0
1 #!/bin/bash
2 # Usage: make_new_tabs.sh ~/u/bookmarks-from-saved-closed-tab-groups_... > ~/New_Tabs.xml
3 sed 's/&nbsp;/ /g;s/&/&amp;/g' < "$1" |tr -s '\302\240' ' ' |tidy -asxml 2>/dev/null \
4 |saxon97 - D:/lib/xml/bookmarks_to_xml.xsl|normXML -w |lxsort body div .