Rclone as a helper for external backups
Browser or Terminal
After copy
or sync
actions, you can see in the browser whether the transfer was successful. Simply call the corresponding service's web front end (Figure 4). For a faster response, use the following command at the command line:
rclone lsd gdrv:/Pictures

This call tells Rclone to display the last action in relation to the specified folder.
For more information, use
rclone ls gdrv:/Pictures
which lists each transferred file and its size (Figure 5). If you omit the folder for both commands (assuming that you selected the 1
option for full access to cloud storage during configuration), Rclone will list all of the drive instance's folders or files.

Encryption Must-Have
As previously mentioned, any data you store on Google Drive should be encrypted to protect your privacy. Now that you know that Rclone is working as expected, it's time for automatic encryption during the upload [7].
Call rclone config
again, and select 9
to create a new remote of the type Encrypt/Decrypt a remote. The configuration is similar to before. In addition to passwords, you are also prompted to decide whether the system should encrypt the file and folder names (Figure 6). During the test, I named this remote secret
.

As the target, I specified gdrv:Images
and told Rclone to encrypt file names but not folder names. Then I used the command from the first line of Listing 3 to save the test data that I had previously deleted from the online storage for more clarity. After that, the encrypted file names were visible in the terminal (line 2), as well as in the browser (Figure 7).
Listing 3
Making Encrypted File Names Visible

Working Graphically
If you want to use Rclone with a graphical user interface (GUI), the Rclone Browser [8] front end lets you do so; it covers most of the Rclone functions (Figure 8). The program lets you upload and download data and mount Google Drive in your home directory, supporting many parameters. If several remotes are used, you manage them together within the GUI.

Rclone Browser can be found in the package sources of Debian and Ubuntu. However, if you have built Rclone yourself, you will also want to compile the latest version of Rclone Browser. The package manager will again try to set up the Rclone version from the repository together with the GUI, which will tend to lag behind the current state of development.
The GUI turned out to be bottleneck in the test. In tests over several days, Rclone Browser only achieved a little more than half the throughput that I achieved at the command line. I couldn't find an explanation for this. You should therefore always start a big initial upload via the terminal.
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
Fedora 39 Beta is Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.
-
Star Labs Reveals a New Surface-Like Linux Tablet
If you've ever wanted a tablet that rivals the MS Surface, you're in luck as Star Labs has created such a device.
-
SUSE Going Private (Again)
The company behind SUSE Linux Enterprise, Rancher, and NeuVector recently announced that Marcel LUX III SARL (Marcel), its majority shareholder, intends to delist it from the Frankfurt Stock Exchange by way of a merger.