view bin/toM @ 0:2aa53823fb21

new repo
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 06 Jun 2026 10:19:04 +0100
parents
children
line wrap: on
line source

#!/bin/bash
ff=
if [ "x$2" = "x" ]
 then
  dest=markup.co.uk:
  ff="'$1'"
 else
  while [ $# != 1 ]
   do
    ff="$ff '$1'"
    shift
  done
  dest="'markup.co.uk:$1'"
fi
echo scp $ff $dest
sh -c "scp $ff $dest"