Outils pour utilisateurs

Outils du site


issue118:labo_linux2

Ceci est une ancienne révision du document !


Rclone is a piece of software that will let you upload/download files to/from various cloud hosting services (such as Google Drive, Dropbox, et al). It’s not the most friendly piece of software though, but now it has a browser: rclone-browser.

Installing

First, create a folder to download, and keep, everything in.

We need two pieces of software. First grab the browser file. Go to: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/r/rclone-browser/ and click on the appropriate DEB file for your system, and download it to the folder created above.

Next, we need rclone itself. Go to: https://github.com/ncw/rclone/releases and, again, grab the appropriate ZIP file for your system and save it in the above folder.

Head into the folder and unzip the rclone file (either using your window manager or via the terminal).

Open a terminal and cd to the download directory (eg: cd /Downloads/rclone)

To install the DEB file do:

sudo dpkg -i rclone-browser_1.0.0-1-webupd8-yakkety0_amd64.deb

Obviously change the DEB filename to the one you downloaded.

Now that it’s installed, run the rclone-browser, either via Unity or your desktop menu.

The first time you run rclone-browser (shown below), it needs you to show it where rclone is. We unzipped it a little while ago.

Set System Tray and User Interface settings as desired.

Now we have the blank rclone-browser window. We need to add cloud hosts. Click the ‘Config…’ button. A terminal will pop up with some options. Unfortunately adding hosts needs to be done via the terminal, but it’s very simple. Honest!

Type ‘n’ for ‘new remote’ (aka: new cloud host), and press Enter. Now you’ll be asked some questions, but, for most hosts, it goes like this: • ‘Name’ this is what you want to title this storage. • Now choose the provider from the list. • Leave client id blank (just press Enter). • Client secret should also be left blank (again, press Enter). • For Auto-config choose yes.

The next part depends on the hosting provider. Some will open a browser window and have you log in to the cloud host. Some may even give you a URL to paste in to your browser window (eg: http://127.0.0.1:53682/auth).

In this example (shown above), it needs to get a code from Google to use Google Drive. It will wait for the code. It gets the code, display the code, and ask if this is OK (answer yes).

For Dropbox, you need to follow a URL, and then paste in a code. Others may be different. In most cases it’s pretty straightforward and easy enough.

Now we have one host added! Follow the text menu items to add more hosts, or exit.

So, you’ve added your hosts and exited the menu. You’re back in rclone-browser. Click the ‘Refresh’ button to update rclone-browser.

Double click the hosting entry in rclone-browser to see a file list.

Select a file, then click a button at the top of the window to do that action. Or you can right-click on a file to select an action.

If copying to another host, you need to enter the destination drive (eg: gdrive:/ )

Click the ‘jobs’ tab to see the resulting output.

Rclone-browser is definitely a handy piece of kit. I’ve only touched upon what it’s capable of. You can choose directories and have them sync to hosts etc.

POSSIBLE QUIRK OF DRIVE (aka: Google Drive): I find that I can transfer a folder of files from drive:/ to Dropbox:/, but can’t transfer a single file. So, if you get an error transferring a single file from drive:/ to Dropbox:/ (or another host), put the file in a folder first and transfer the folder. It might be just me. I’m not sure.

For advice, see the rclone forum: https://forum.rclone.org/latest

issue118/labo_linux2.1488276978.txt.gz · Dernière modification : 2017/02/28 11:16 de auntiee