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
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.
-
openSUSE Leap 15.5 Beta Now Available
The final version of the Leap 15 series of openSUSE is available for beta testing and offers only new software versions.
-
Linux Kernel 6.2 Released with New Hardware Support
Find out what's new in the most recent release from Linus Torvalds and the Linux kernel team.