Skip to content

Instantly share code, notes, and snippets.

@hkskoglund
Created November 7, 2017 13:49
Show Gist options
  • Save hkskoglund/9f0f4a6783661fcafaf24cfa6cf65120 to your computer and use it in GitHub Desktop.
Save hkskoglund/9f0f4a6783661fcafaf24cfa6cf65120 to your computer and use it in GitHub Desktop.
Motion detection to SD Card log D-link DCS-936L
#!/bin/bash
sdlog | grep -E 'Motion' | tail -n 150 | tac | nl
@hkskoglund
Copy link
Author

Use -u admin: instead of Authorization header to hopefully get curl to login if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment