diff --git a/src/.ks-upa.swp b/src/.ks-upa.swp new file mode 100644 index 0000000..b17f68b Binary files /dev/null and b/src/.ks-upa.swp differ diff --git a/src/.ks-upf.swp b/src/.ks-upf.swp new file mode 100644 index 0000000..0aee99a Binary files /dev/null and b/src/.ks-upf.swp differ diff --git a/src/.ks-upr.swp b/src/.ks-upr.swp new file mode 100644 index 0000000..d858e98 Binary files /dev/null and b/src/.ks-upr.swp differ diff --git a/src/.ks-upv.swp b/src/.ks-upv.swp new file mode 100644 index 0000000..7a5d230 Binary files /dev/null and b/src/.ks-upv.swp differ diff --git a/src/ks-upr b/src/ks-upr index f8d0907..0c6196f 100755 --- a/src/ks-upr +++ b/src/ks-upr @@ -159,7 +159,7 @@ function sendFile() { else echo "" echo "+ Sending files from ${2} to ${5} (${4})" - /usr/bin/sshpass -p ${1} /usr/bin/scp ${2}/* ${3}@${4}:${5}/ 2> /dev/null + /usr/bin/sshpass -p ${1} /usr/bin/scp -r ${2}/* ${3}@${4}:${5}/ 2> /dev/null fi # Run command for upload on Unix systems else