view bin/fromS @ 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 2aa53823fb21
children
line wrap: on
line source

#!/bin/sh
ff=
dest=.
if [ "x$2" = "x" ]
 then
  ff=snco_snco@ssh.phx.nearlyfreespeech.net:$1
 else
  while [ "x$2" != "x" ]
   do
    ff="$ff snco_snco@ssh.phx.nearlyfreespeech.net:$1"
    shift
  done
  dest=$1
fi
echo scp $ff $dest
scp $ff $dest