Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ext='.png'
- site='http://domain.com/i/'
- pass='candy123'
- filename=$(date +%s)$ext
- temp='/home/user/Pictures/'
- scrot -s $temp$filename
- sshpass -p $pass scp $temp$filename user@domain.com:/var/www/i
- rm -r $temp$filename
- echo -n $site$filename | xclip -selection c
Advertisement
Add Comment
Please, Sign In to add comment