…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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |