Tag Archives: onedrive

Rclone 1.36 Released With SFTP And Local Symlinks Support, More

cloud storage

Rclone 1.36 was released recently, bringing support for SFTP, local symbolic links support, mount improvements, along with many other new features and bug fixes.
For those not familiar with Rclone, this is a cross-platform command line tool for synchronizing files and folders to multiple cloud storages, which supports Dropbox, Google Drive, Amazon S3, Amazon Drive, Microsoft One Drive, Yandex Disk, and more.

It can be used to sync files either from your machine or from one cloud storage to another.
As a reminder, Rclone doesn’t provide real-time file monitoring, and the synchronization is performed on demand (so you must run it manually or using a script, etc.)

For more about Rclone, check out our initial article.

Important changes in Rclone 1.36 include:

  • SFTP remote;
  • re-implement sync routine to work a directory at a time reducing memory usage;
  • logging revamped to be more inline with rsync;
  • implement –backup-dir and –suffix;
  • implement –track-renames;
  • add time-based bandwidth limits;
  • rclone cryptcheck: checks integrity of crypt remotes;
  • allow all config file variables and options to be set from environment variables;
  • add –buffer-size parameter to control buffer size for copy;
  • comply with XDG Base Directory specification (this moves the default location of the config file in a backwards compatible way);
  • MIPS/Linux big and little endian support;
  • local:
    • implement -L, –copy-links flag to allow rclone to follow symlinks;
    • open files in write only mode so rclone can write to an rclone mount;
  • mount:
    • implement proper directory handling (mkdir, rmdir, renaming);
    • make include and exclude filters apply to mount;
    • implement read and write async buffers – control with –buffer-size;
  • crypt:
    • add –crypt-show-mapping to show encrypted file mapping;
    • fix crypt writer getting stuck in a loop (this bug had the potential to cause data corruption when reading data from a network based remote and writing to a crypt on Google Drive).

For a complete changelog, see THIS page.

To use Rclone with a graphical user interface, you may want to check out RcloneBrowser (WebUpd8 provides an Ubuntu PPA for RcloneBrowser so you can easily installing updates).

Download Rclone

(binaries available for Linux: 32bit, 64bit, arm, arm64 and mips big and little endian, Windows :32bit and 64bit, MacOS: 32bit and 64bit, FreeBSD: 32bit, 64bit and arm, and more)

In Linux distributions that support snap packages (Ubuntu and many others), you can install rclone using the following command:

sudo snap install rclone --classic

If you already had Rclone installed using a snap, it should already be up to date (this depends on the snapd version you’re using). Alternatively, you can update it using the following command:

sudo snap refresh rclone --classic

For how to use Rclone, you may want to check out its documentation.

Important: if you use the Rclone snap package, you won’t be able to mount any cloud storage (bug report). When attempting to mount Google Drive, Dropbox, etc., you’ll get an error similar to the following:
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
The solution, at least for now, use the Rclone binary downloaded from its website.

To download the source, report bugs, etc., see the Rclone GitHub page.

Read More

RcloneBrowser (Rclone GUI) Lets You Manage Multiple Cloud Storage Services From A Single Desktop App

RcloneBrowser is a Qt5 Rclone graphical user interface, available for Linux, Mac and Windows.

Rclone Browser

In case you’re not familiar with Rclone, this is a command line tool for synchronizing files from or to cloud storage services, which supports Google Drive, Google Cloud Storage, Dropbox, Microsoft One Drive, Amazon S3, Amazon Drive, Openstack Swift / Rackspace cloud files / Memset Memstore, Hubic, Yandex Disk, and Backblaze B2. 
Rclone can synchronize files either directly between these cloud services, or to / from your local filesystem.

For more about Rclone, check out our article: Rclone Synchronizes Files Between Multiple Cloud Storage Services (Command Line)

RcloneBrowser allows browsing and modifying (upload / download / remove, etc.) remote repositories, such as Google Drive, Dropbox, oneDrive and so on, including encrypted ones, using the same configuration file as Rclone, so you don’t have to configure remote services twice.

Besides performing various operations on your cloud files, RcloneBrowser can also mount and unmount your remote cloud storage, and it can stream media files with an external player, such as mpv.

Rclone Browser

Note that Rclone (and thus, RcloneBrowser too) performs the synchronization on demand, without any real-time file monitoring and automatic uploading / downloading of changed files.

RcloneBrowser features:

  • allows to browse and modify any Rclone remote, including encrypted ones;
  • allows to upload, download, create new folders, rename or delete files and folders;
  • uses same configuration file as Rclone, no extra configuration required;
  • supports encrypted .rclone.conf configuration file;
  • simultaneously navigate multiple repositories in separate tabs;
  • lists files hierarchically with file name, size and modify date;
  • all Rclone commands are executed asynchronously, no freezing GUI;
  • file hierarchy is lazily cached in memory for faster traversal of folders;
  • can process multiple upload or download jobs in background;
  • drag & drop support for dragging files from local file browser for uploading;
  • streaming media files for playback in players like mpv or similar;
  • mount and unmount folders on macOS and GNU/Linux;
  • optionally minimizes to tray, with notifications when upload/download finishes.
While RcloneBrowser integrates pretty much all the Rclone features in its user interface, adding a new remote storage service is not supported by it, and the configuration must be performed via command line. However, for most, the configuration is as easy as entering “y” a few times in a terminal.

RcloneBrowser does add easy access to the Rclone configuration – simply click “Config” on the RcloneBrowser “Remotes” tab, and it will launch a new terminal window with the Rclone configuration.

Tip: The RcloneBrowser user interface lets you select a local file or folder when uploading to a cloud storage service, however, it can also copy / move / sync files from one cloud storage to another. To do this, you must enter the exact path to the file from the other remote source, like this:

Rclone Browser

Rclone Browser

Download RcloneBrowser

To make it easier to install, I’ve uploaded RcloneBrowser to the main WebUpd8 PPA, for Ubuntu 16.04 and 16.10.

To add the PPA and install RcloneBrowser in Ubuntu 16.10 or 16.04 / Linux Mint 18.x, use the following commands:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install rclone-browser

If you don’t want to add the PPA, you can grab the deb from HERE.

Important: the WebUpd8 package only includes RcloneBrowser, but you’ll also need Rclone for this to work. You can download precompiled Rclone binaries @ GitHub. To use it, simply extract the downloaded binary archive, then from RcloneBrowser Preferences select Rclone binary location.
Arch Linux users can install RcloneBrowser via AUR.
For other Linux distributions, Windows and Mac, see the Rclone Browser GitHub page.

Those new to Rclone may also want to check out its documentation.

Read More