Page 1 of 1

Script to upload and download from Dropbox

Posted: 10 Sep 2012, 07:07
by RandomUsername
I had no input into the creation of this script so can't take any credit, but I found a bash script that uses the Dropbox API to upload and download. Works great in lieu of a PowerPC / Arm Dropbox client.

http://www.andreafabrizi.it/?dropbox_uploader

Re: Script to upload and download from Dropbox

Posted: 10 Sep 2012, 12:39
by DanielM
This really could be useful. Thanks!

/Daniel

edit: I might be stupid here, but I just can't find out how to get it to list my files... Do you?

Code: Select all

malmgren@b3:~$ dropbox_uploader.sh list /Privat
 > Listing /Privat... FAILED /Privat is not a directory!
malmgren@b3:~$ dropbox_uploader.sh list home
 > Listing home... FAILED
malmgren@b3:~$ dropbox_uploader.sh list /home
 > Listing /home... FAILED
malmgren@b3:~$ dropbox_uploader.sh list home/Privat
 > Listing home/Privat... FAILED
malmgren@b3:~$ dropbox_uploader.sh delete CAP201105111530.png
 > Deleting CAP201105111530.png... DONE

Re: Script to upload and download from Dropbox

Posted: 14 Jan 2013, 02:37
by RandomUsername
Hey Daniel,

Sorry, don't know why I didn't see this reply before. I didn't know there was a list option, it's not in the help. How did you find out about it? Anyway, I couldn't get it to work with a brief play either so maybe that functionality isn't complete yet, hence it's missing from the help.

Re: Script to upload and download from Dropbox

Posted: 14 Jan 2013, 08:59
by DanielM
You don't really expect me to remember after 4 months where I found out about it, do you? :D

Anyway, if you want to write a script that syncs files from Dropbox it would be a good start to get a listing of them.

I simply gave up and installed Owncloud instead 8)

/Daniel