Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # see name_of_file.png
- # watch the screen using a browser
- # run under apache root
- # provide file name
- # load that address in browser
- # refresh page
- screencapture="/usr/sbin/screencapture"
- sleep="/bin/sleep"
- if [ -s "$1" ]
- then
- while screencapture -x "$1"; do sleep 0.98; done
- fi
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement