Skip to main content

rclone - Cloud Storage access for Linux

Access cloud storage, like OneDrive or Google Drive, as easily on a Raspberry Pi (Raspbian Linux) desktop as you would on a Windows PC.

1. Install rclone

In a terminal window:
curl https://rclone.org/install.sh | sudo bash
(Trust me, this is in the official installation documents)

2. Configure rclone

Run the rclone configuration wizard by typing in terminal:
rclone config
Complete the wizard. Give your remote cloud storage service an alias like 'mycloud'. Use defaults if prompted. As part of the process, it should load up a browser and get you to sign in.

3. Make a mountpoint folder

Example terminal command:
mkdir /home/pi/remote
Keep that folder empty.

4. Connect (mount) the remote as a folder 

Example terminal command:
rclone mount mycloud: /home/pi/remote
If you browse to that folder, the files on your cloud storage should appear.

Notes

  • Adding --vfs-cache-mode full to the rclone mount command will let you edit files directly on the remote drive.
  • Limitation: You cannot move folders on the remote drive.
  • rclone is very much a Swiss army knife. It caters for batch synchronisation, headless servers, business, as well as casual users who just want to access their remote files on a desktop. It supports a huge variety of cloud storage services, so setup guides make it look more difficult than it is.
  • I'm writing this because, surprisingly, there are very few guides focused on desktop use, and practically no alternative programs.
  • Uninstalling: remove /usr/bin/rclone, and /usr/local/share/man/man1/rclone.1
  • Do not install rclone from package managers. Older versions have trouble with some services, like OneDrive.
  • Background: my Windows laptop died. Rather than buy another one, I'm experimenting with other devices including a Raspberry Pi. Accessing my file clouds is essential!

References


Comments

Post a Comment

Popular posts from this blog

Transcode to PSP using Handbrake

Source: Handbrake 0.9.9.5530 64-bit edition Target: (Phat) Playstation Portable PSP-1000 , System Software: 6.60 Many internet articles on how to transcode video to PSP using Handbrake have not worked for me. Even the most helpful are incomplete. I hope this post will help fill in the blanks. There is no longer any PSP preset for Handbrake, but from what I can gather, the preset had only limited success as the x264 encoder would change syntax and settings between versions. Other presets that may have worked before, like 'iPod' and 'Apple-Universal' now do not. Here is what worked for me, step by step:

Scatterbox - build an Android Tor Socks Proxy Server

Cloak your location and create a firewall bypass device with a smartphone. 🕵Uses the Tor network . Does not require root. 1 - from Google Play, download and install: Orbot Orweb browser Socks Server Ultimate (Optional)

Dismissing Racism

Whenever white people kill people of colour, as in 2021's anti-Asian shootings in Atlanta Georgia , this sort of counter-commentary appears: "Since the killing of six Asian women who worked in massage parlors in Atlanta, the media has amplified the false narrative that “white supremacy” is to blame.  ... official crime stats show that white people are significantly underrepresented in terms of the violent crime threat they pose to Asians."  ... citing FBI statistics , whereas whites comprise 62% of the population, they committed 24% of crimes against Asians in 2018.  In comparison, blacks, who comprise 13% of the population, committed 27.5% of all violent crimes against Asian Americans in 2018.  So clearly, white people do not represent the biggest crime threat to Asian Americans." Not only is this an attack on the media and its imagined agenda, it also implies that Asians can't tell who's assaulting them.