comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:2aa53823fb21
1 #!/bin/bash
2 ff=
3 if [ "x$2" = "x" ]
4 then
5 dest=markup.co.uk:
6 ff="'$1'"
7 else
8 while [ $# != 1 ]
9 do
10 ff="$ff '$1'"
11 shift
12 done
13 dest="'markup.co.uk:$1'"
14 fi
15 echo scp $ff $dest
16 sh -c "scp $ff $dest"