My personal dotfiles
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.

shot_upload 239B

12345678
  1. #!/bin/bash
  2. scrot -q 100 -s ~/Pictures/pic_for_upload.png
  3. scp ~/Pictures/pic_for_upload.png vps:~
  4. R=`~/bin/anumgen 8`
  5. echo emacs.guru/image/$R.png | xclip -selection clipboard
  6. echo $R | ssh vps "cat > ~/upload_string && ~/process_photo"