I want to backup all the stuff from by Dropbox folder into an archive once a week. For this I have an Banana Pi with Bananain Linux. Is there a way to download all files from my Dropbox account with the command line? I think it is possible to download single files with wget
but what about all files from an account?
1 Answer
Not 100% familiar with the Banana Pi or Bananain Linux, but the device is ARM-based and the OS seems to be based on Debian 7/Wheezy. So that opens up the field of potential options a bit.
Looking at the details for Rclone look promising:
Rclone is a command line program to sync files and directories to and from
- Google Drive
- Amazon S3
- Openstack Swift / Rackspace cloud files / Memset Memstore
- Dropbox
- Google Cloud Storage
- The local filesystem
Details on how to use Rclone with Dropbox can be found here.
As far as a compiled binary for Rclone itself goes, there is a download section on the Rclone site that clearly shows ARM binaries, but nothing explicitly Debian. Would assume the generic Linux ARM flavor could work? It’s a simple binary so worth downloading that and trying.
But better yet, it seems like there is a nice set of source code installation instructions provided as well:
Rclone is a Go program and comes as a single binary file.
Download the relevant binary.
Or alternatively if you have Go installed use
go get github.com/ncw/rclone
So if you can get Google’s Go installed in that device—Go downloads are here—it seems like this would be a nice option to compile from source directly on your device.
-
I just downloaded the Rclone ARM binary and it works like a charm! Thanks. :)– PeterCommented Sep 9, 2015 at 8:53
Dropbox
client forLinux
: dropbox.com/install?os=lnx. Would you like to rundropbox
on your PC and send it toBanana Pi
or rundropbox
directly onBanana Pi
? I heard that there is nodropbox
client forARM
.Banana Pi
without using a PC.Rpi
so it should also work onBanana Pi
.