1

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?

4
  • There is a command-line Dropbox client for Linux: dropbox.com/install?os=lnx. Would you like to run dropbox on your PC and send it to Banana Pi or run dropbox directly on Banana Pi? I heard that there is no dropbox client for ARM. Commented Sep 8, 2015 at 11:04
  • I would like to run it directly from the Banana Pi without using a PC.
    – Peter
    Commented Sep 8, 2015 at 11:07
  • I once used this: github.com/andreafabrizi/Dropbox-Uploader. Some people say it works on Rpi so it should also work on Banana Pi. Commented Sep 8, 2015 at 11:13
  • 1
    Cannot you install ssh-client, rsync on bananapi and do a automatic rsync? Check i.e. Generating SSH keys. The dropobox one is a directory under the user's home in Linux.
    – Hastur
    Commented Sep 8, 2015 at 11:14

1 Answer 1

2

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.

1
  • I just downloaded the Rclone ARM binary and it works like a charm! Thanks. :)
    – Peter
    Commented Sep 9, 2015 at 8:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .