Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
i'm trying to use your script with raspbian and motion.
All works good but i have some problems with on_movie_end. At the end of the motion the video created should be uploaded on my dropbox account. This is the command:
start upload
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
end upload
from the command line /home/pi/motion/drop/dropupl.sh works, uploads the video on dropbox and it writes on the log file.
But when a motion is detected it writes on the log file but it 'skip' the line with the command and it doesn't upload the video on dropbox.
for me it looks as "sudo" tries to ask for a password, but has no console.
i run motion as user "pi" and did not use sudo. you can set the path of the Dropboxuploader.sh configuration via -f option
Hi!
i'm trying to use your script with raspbian and motion.
All works good but i have some problems with on_movie_end. At the end of the motion the video created should be uploaded on my dropbox account. This is the command:
on_movie_end /home/pi/motion/drop/dropupl.sh
This is the content of the script:
and this the content of the log file
from the command line /home/pi/motion/drop/dropupl.sh works, uploads the video on dropbox and it writes on the log file.
But when a motion is detected it writes on the log file but it 'skip' the line with the command and it doesn't upload the video on dropbox.
Can you help me?