macintoshgeek
Posts: 24
Joined: Sun Feb 24, 2013 1:21 am

Script file for uploading files to Google Drive not working

Mon Mar 18, 2013 8:54 pm

Hello,
I've been playing around with Motion on my Rapsberry Pi running Raspbian and came across this post that sounded like fun to do:
http://through-the-interface.typepad.co ... art-2.html

I've been trying to tweak the steps he lists to have it work with Raspbian, and as far as I know I should be good. I installed GData using

Code: Select all

sudo apt-get install python-gdata
And then I put the uploader.py and uploader.cfg files in /etc/motion and changed the motion.confg file to have the line

Code: Select all

on_movie_end /etc/motion/uploader.py /etc/motion/uploader.cfg %f
Am I missing something? Theoretically this should work on Raspbian right? What else has to be done?

If this doesn't work, is there some other way I could make it so that I get an email with images/videos that are added to a directory in the pi, or a way to get them uploaded to a cloud service of some kind.

Thanks


User avatar
LetHopeItsSnowing
Posts: 357
Joined: Sat May 26, 2012 6:40 am
Location: UK
Contact: Website

Re: Script file for uploading files to Google Drive not work

Tue Mar 19, 2013 8:31 am

Have you thought about using Grive, it's an open source utility which syncs Google drive with a directory.

Check outhttp://www.stuffaboutcode.com/2013/03/r ... grive.html
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"

Return to “Troubleshooting”