Lines Matching full:copy
9 DIR=${COPY}.dd
10 DIR2=${COPY}.dd2
20 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
35 verbose "$tag: simple copy local file to remote file"
37 $SCP $scpopts ${DATA} "scp://${USER}@somehost:${PORT}/${COPY}" || fail "copy failed"
38 cmp ${DATA} ${COPY} || fail "corrupted copy"
40 verbose "$tag: simple copy remote file to local file"
42 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed"
43 cmp ${DATA} ${COPY} || fail "corrupted copy"
45 verbose "$tag: simple copy local file to remote dir"
47 cp ${DATA} ${COPY}
48 $SCP $scpopts ${COPY} "scp://${USER}@somehost:${PORT}/${DIR}" || fail "copy failed"
49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
51 verbose "$tag: simple copy remote file to local dir"
53 cp ${DATA} ${COPY}
54 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed"
55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
60 cp ${DATA} ${DIR}/copy
61 $SCP $scpopts -r ${DIR} "scp://${USER}@somehost:${PORT}/${DIR2}" || fail "copy failed"
63 cmp ${DIR}/$i ${DIR2}/$i || fail "corrupted copy"
69 cp ${DATA} ${DIR}/copy
70 $SCP $scpopts -r "scp://${USER}@somehost:${PORT}/${DIR}" ${DIR2} || fail "copy failed"
72 cmp ${DIR}/$i ${DIR2}/$i || fail "corrupted copy"