Closed pranav18 closed 3 years ago
When I am trying to use imagesnap via shell script its not working. Here is the code :
camera_filename="IMG_${timestamp}.jpg" echo "Take picture $camera_filename" imagesnap "$camera_filename"
Error that I am getting is : imagesnap: command not found
imagesnap: command not found
But via terminal same command is working. using in shell script its not working.
path of "imagesnap" is : /usr/local/bin
I don't know where I am wrong.
Either refer to imagesnap by its absolute path /usr/local/bin/imagesnap or else make sure /usr/local/bin is in the PATH environment variable.
When I am trying to use imagesnap via shell script its not working. Here is the code :
Error that I am getting is :
imagesnap: command not found
But via terminal same command is working. using in shell script its not working.
path of "imagesnap" is : /usr/local/bin
I don't know where I am wrong.