![]() I’ll jump through a couple of hoops for something that cool. Yes you have to jump through a couple of hoops, but to be able to take a photo and see it on my PC, phone or Nexus 7 tablet within 30 seconds is pretty darned cool. Photofile = "/home/pi/Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/photo00001.jpg photo00001.jpg"Īnd, if you look at the DropBox Uploader documentation, there’s a lot more commands you can make use of… …or use it in a Python script like this… from subprocess import call This will upload the file you choose to your DropBox account. dropbox_uploader.sh upload /home/pi/name_of_upload_file name_of_upload_file Now you can use DropBox Uploader on your Raspberry Pi… ![]() Your DropBox account connected to your “app” 4. You should now see three files, one of which is called dropbox_uploader.sh. You should be able to see a directory called Dropbox-Uploader (If this fails, you may need to install git with sudo apt-get install git-core) Next, you need to get Dropbox Uploader onto your Pi Hop on over to DropBox and get one – it’s free. DropBox accountįirst of all you need a DropBox account. You do have to jump through a couple of hoops to get it set up (security mostly), but once you’ve done that, it’s a breeze. So I did a little research and came across an absolute gem of a program called Dropbox-Uploader, by Andrea Fabrizi.Ī truly brilliant piece of work that gives you access to your DropBox account right from the command line. I wanted to be able to upload photos from my RasPiCamcorder straight to DropBox.
0 Comments
Leave a Reply. |