Advertisement
metalx1000

wansview ipcam grab images in loop

Aug 12th, 2015
1,485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. let x=1
  3. while [ 1 ];
  4. do
  5.   wget "http://<ip adress>/snapshot.cgi?user=<username>&pwd=<password>" -O $(printf %04d.jpg ${x%.*})
  6.   let x++
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement