diff --git a/transfer-data.sh b/transfer-data.sh index f5bdbe2..2b84b81 100755 --- a/transfer-data.sh +++ b/transfer-data.sh @@ -5,8 +5,7 @@ TTD="10" KEY="ZGVmaW5tYUB0MzhiYmNjZDE2MjE3NDViODgxMTk5ZGI2ZWQzZGFiNmE6RGVGaW5NYWNoZW4yMDIwIQ==" # Build name -NAME=${1#*_} -NAME=${NAME%.*} +NAME=${1##*/} # Build body JSON="{\"$NAME\": ["