parent
471a2ef915
commit
0757775843
|
@ -22,4 +22,5 @@ echo -e "\nUploading file: $5"
|
||||||
# ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5
|
# ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5
|
||||||
|
|
||||||
echo put $5 $4 > cmd
|
echo put $5 $4 > cmd
|
||||||
|
cat cmd
|
||||||
sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 <<< `cat cmd`
|
sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 <<< `cat cmd`
|
Loading…
Reference in New Issue