Set the correct permissions to the pem file (ks-upv/upa/upf/upr)

This commit is contained in:
q3aql 2023-03-12 15:05:07 +01:00
parent 906cb000d9
commit 935c590dfa
4 changed files with 28 additions and 8 deletions

View File

@ -2,12 +2,12 @@
########################################################################
# ks-upa (ks-tools) - Upload audio file(s) to server with scp or rsync #
# Date: 11-03-2023 #
# Date: 12-03-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
########################################################################
VERSION="8.5-dev"
M_DATE="110323"
M_DATE="120323"
# Global parameters.
dirTemp="/tmp"
@ -26,6 +26,11 @@ else
cygwin="no"
fi
# Set the correct permissions to the pem file
if [ -f ${dirConfig}/connect.pem ] ; then
chmod 600 ${dirConfig}/connect.pem
fi
# Function to remove spaces and symbols
# Syntax: convertText "<text>"
function convertText() {

View File

@ -2,12 +2,12 @@
#########################################################################
# ks-upf (ks-tools) - Upload common file(s) to server with scp or rsync #
# Date: 11-03-2023 #
# Date: 12-03-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
#########################################################################
VERSION="8.5-dev"
M_DATE="110323"
M_DATE="120323"
# Global parameters.
dirTemp="/tmp"
@ -26,6 +26,11 @@ else
cygwin="no"
fi
# Set the correct permissions to the pem file
if [ -f ${dirConfig}/connect.pem ] ; then
chmod 600 ${dirConfig}/connect.pem
fi
# Function to remove spaces and symbols
# Syntax: convertText "<text>"
function convertText() {

View File

@ -2,12 +2,12 @@
##############################################################################
# ks-upr (ks-tools) - Upload recursively file(s) to server with scp or rsync #
# Date: 11-03-2023 #
# Date: 12-03-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##############################################################################
VERSION="8.5-dev"
M_DATE="110323"
M_DATE="120323"
# Global parameters.
dirTemp="/tmp"
@ -26,6 +26,11 @@ else
cygwin="no"
fi
# Set the correct permissions to the pem file
if [ -f ${dirConfig}/connect.pem ] ; then
chmod 600 ${dirConfig}/connect.pem
fi
# Function to remove spaces and symbols
# Syntax: convertText "<text>"
function convertText() {

View File

@ -2,12 +2,12 @@
#########################################################################
# ks-upv (ks-tools) - Upload videos file(s) to server with scp or rsync #
# Date: 11-03-2023 #
# Date: 12-03-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
#########################################################################
VERSION="8.5-dev"
M_DATE="110323"
M_DATE="120323"
# Global parameters.
dirTemp="/tmp"
@ -26,6 +26,11 @@ else
cygwin="no"
fi
# Set the correct permissions to the pem file
if [ -f ${dirConfig}/connect.pem ] ; then
chmod 600 ${dirConfig}/connect.pem
fi
# Function to remove spaces and symbols
# Syntax: convertText "<text>"
function convertText() {