Lines Matching full:scp
1 # $OpenBSD: scp-uri.sh,v 1.5 2023/01/13 04:47:34 dtucker Exp $
4 tid="scp-uri"
15 cp ${SRC}/scp-ssh-wrapper.sh ${OBJ}/scp-ssh-wrapper.scp
16 chmod 755 ${OBJ}/scp-ssh-wrapper.scp
17 export SCP # used in scp-ssh-wrapper.scp
28 for mode in scp sftp ; do
30 if test $mode = scp ; then
31 scpopts="-O -q -S ${OBJ}/scp-ssh-wrapper.scp"
37 $SCP $scpopts ${DATA} "scp://${USER}@somehost:${PORT}/${COPY}" || fail "copy failed"
42 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed"
48 $SCP $scpopts ${COPY} "scp://${USER}@somehost:${PORT}/${DIR}" || fail "copy failed"
54 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed"
61 $SCP $scpopts -r ${DIR} "scp://${USER}@somehost:${PORT}/${DIR2}" || fail "copy failed"
70 $SCP $scpopts -r "scp://${USER}@somehost:${PORT}/${DIR}" ${DIR2} || fail "copy failed"
75 # TODO: scp -3
79 rm -f ${OBJ}/scp-ssh-wrapper.exe