Fix info comment
This commit is contained in:
parent
36fee80af7
commit
36535837e2
|
@ -728,12 +728,12 @@ elif [ "${1}" == "-i" ] ; then
|
||||||
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
||||||
if [ "${current_tool}" == "scp" ] ; then
|
if [ "${current_tool}" == "scp" ] ; then
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upa -e)"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upa -e)"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
while [ ${count} -le ${totalFiles} ] ; do
|
while [ ${count} -le ${totalFiles} ] ; do
|
||||||
|
|
|
@ -569,7 +569,7 @@ function createConfig() {
|
||||||
fi
|
fi
|
||||||
# Configure upload tool by default
|
# Configure upload tool by default
|
||||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upf -e' for edit)"
|
||||||
else
|
else
|
||||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||||
fi
|
fi
|
||||||
|
@ -755,12 +755,12 @@ elif [ "${1}" == "-i" ] ; then
|
||||||
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
||||||
if [ "${current_tool}" == "scp" ] ; then
|
if [ "${current_tool}" == "scp" ] ; then
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upf -e)"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upf -e)"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
while [ ${count} -le ${totalFiles} ] ; do
|
while [ ${count} -le ${totalFiles} ] ; do
|
||||||
|
|
|
@ -498,7 +498,7 @@ function createConfig() {
|
||||||
fi
|
fi
|
||||||
# Configure upload tool by default
|
# Configure upload tool by default
|
||||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upr -e' for edit)"
|
||||||
else
|
else
|
||||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||||
fi
|
fi
|
||||||
|
@ -679,12 +679,12 @@ elif [ "${1}" == "-i" ] ; then
|
||||||
if [ "${current_tool}" == "scp" ] ; then
|
if [ "${current_tool}" == "scp" ] ; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upr -e)"
|
||||||
fi
|
fi
|
||||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upr -e)"
|
||||||
fi
|
fi
|
||||||
if [ -d ${dirLocal} ] ; then
|
if [ -d ${dirLocal} ] ; then
|
||||||
sendFile ${password} "${dirLocal}" ${user} ${server} ${dirServer}
|
sendFile ${password} "${dirLocal}" ${user} ${server} ${dirServer}
|
||||||
|
|
|
@ -542,7 +542,7 @@ function createConfig() {
|
||||||
fi
|
fi
|
||||||
# Configure upload tool by default
|
# Configure upload tool by default
|
||||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upv -e' for edit)"
|
||||||
else
|
else
|
||||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user