wok-current annotate rsync/stuff/usr/bin/rsync-unssh @ rev 23938
qemu: add X86_64 efi bios (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 12:48:26 2020 +0000 (2020-09-12) |
parents | d211311bd968 |
children |
rev | line source |
---|---|
pascal@18324 | 1 #!/bin/sh |
pascal@18324 | 2 # usage: rsync -e /usr/bin/rsync-unssh ... |
pascal@18324 | 3 |
pascal@18324 | 4 port=60873 # any free tcp port > 1024 |
pascal@18324 | 5 |
pascal@18324 | 6 login=$2 |
pascal@18324 | 7 peer=$3 |
pascal@18324 | 8 shift 3 |
pascal@19387 | 9 dbclient -f $login@$peer "nc -l -p $port -e $@" < /dev/tty |
pascal@18324 | 10 nc $peer $port |