cdist-backup/cdist/preos/debootstrap/files/remote-copy.sh
2019-09-20 07:15:37 +02:00

8 lines
119 B
Bash
Executable file

#!/bin/sh
# echo $@
# set -x
src=$1; shift
dst=$1; shift
real_dst=$(echo $dst | sed 's,:,,')
cp -L "$src" "$real_dst"