You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- #!/bin/bash
-
- if [ ! -f "$1" ] || [ "$2" == "" ]; then
- echo "mupload <file> <name>"
- exit 1
- fi
-
- scp "$1" "martin@serve.mort.coffee:/var/www/mort.coffee/d/public/$2"
- URL="http://d.mort.coffee/$2"
- echo $URL | xclip
- echo $URL
|