Mercurial > hg > paul
view bin/toS @ 5:bca2a490a6f4
updated
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 16 Sep 2026 19:50:53 +0100 |
| parents | 2aa53823fb21 |
| children |
line wrap: on
line source
#!/bin/bash ff= if [ "x$2" = "x" ] then dest=snco_snco@ssh.phx.nearlyfreespeech.net: ff="'$1'" else while [ $# != 1 ] do ff="$ff '$1'" shift done dest="'snco_snco@ssh.phx.nearlyfreespeech.net:$1'" fi echo scp $ff $dest sh -c "scp $ff $dest"
