outdated comments? improve usability?

This commit is contained in:
rusefillc 2021-12-22 19:48:54 -05:00
parent 2d09d7b86f
commit 9cc529c4d8
1 changed files with 1 additions and 6 deletions

View File

@ -1,11 +1,5 @@
#!/bin/bash
#
# we have code duplication with three "upload_xxx*" files
# todo: clean it up? use this version with five parameters for all use-cases?
# todo: rename this script since it's a universal one?
#
# user=$1
# pass=$2
# host=$3
@ -21,4 +15,5 @@ echo -e "\nUploading file: $5"
# ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5
ls -l $5
sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 "put $5 $4"