remove maintenance prints, better mfl upload function
This commit is contained in:
@@ -165,7 +165,11 @@ curl -fL -g --upload-file "file_to_upload.ext" \\
|
||||
"$MFL_ROOTURL"/upload
|
||||
|
||||
# Simplified:
|
||||
FN=file_to_upload.ext; curl -fL -g --upload-file "\$FN" -H "Name: \$( basename "\$FN" )" -H "Token: $token" "$MFL_ROOTURL"/upload
|
||||
function $SELF-upload() {
|
||||
local TOKEN="$1";
|
||||
local FN="$2";
|
||||
curl -fL -g --upload-file "\$FN" -H "Name: \$( basename "\$FN" )" -H "Token: \$TOKEN" "$MFL_ROOTURL"/upload
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user