Skip to content

Instantly share code, notes, and snippets.

@thomashartm
Last active November 5, 2018 19:23
Show Gist options
  • Save thomashartm/13fa55fc982e18302b378a568e06b4f9 to your computer and use it in GitHub Desktop.
Save thomashartm/13fa55fc982e18302b378a568e06b4f9 to your computer and use it in GitHub Desktop.
Fix script to deal the not connected. camera issue in Mac OSX. Shutdown the application that called the camera and call the script. The restart the application.
#!/bin/bash
# script based on http://osxdaily.com/2013/12/27/fix-there-is-no-connected-camera-error-mac/
# chmod +x kill-camera.sh to make it executable
sudo killall VDCAssistant
sudo killall AppleCameraAssistant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment