Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- extension="${1##*.}"
- randint=$RANDOM
- cp "$1" "/var/www/up/$randint.$extension"
- echo -n "http://what-ch.mooo.com/up/$randint.$extension" | xclip -selection clipboard
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement