Best cloud storage services with CLI for OSMC (formerly Raspbmc): (Tutorial)

TopLinux

Best Cloud Storage with CLI for Linux OSMC (formerly Raspbmc)

Running OSMC on a Raspberry Pi often means managing media libraries, backups and log files on the same low-power device. A command-line interface (CLI) cloud storage solution lets you automate uploads, mounts and syncs without a GUI. Below we explore the top services—pCloud, MEGA, Proton Drive, Filen, Tresorit and Icedrive—plus how to use them on OSMC’s ARM architecture.

Top Recommendations for OSMC

  • pCloud – Official ARM CLI client, 10 GB free, optional lifetime plans
  • MEGA – Official mega-cmd, end-to-end encryption, 20 GB free
  • Icedrive – Modern UI, native CLI (ARM builds available), 10 GB free
  • Proton Drive – Privacy-focused, use via rclone
  • Filen – Secure cloud, CLI via rclone
  • Tresorit – Enterprise-grade encryption, Linux CLI

Comparison Table

Service Free Storage Encryption Official Linux CLI ARM Support Link
pCloud 10 GB Client-side optional Yes (pcloudcc) Yes pcloud.com
MEGA 20 GB End-to-end Yes (mega-cmd) Yes mega.nz
Icedrive 10 GB Client-side optional Yes Yes icedrive.net
Proton Drive 1 GB End-to-end No (rclone) Yes proton.me/drive
Filen 10 GB End-to-end No (rclone) Yes filen.io
Tresorit 3 GB End-to-end Yes Partial tresorit.com

Which One to Choose?

  • If you need official ARM support: pCloud, MEGA, Icedrive.
  • If encryption is top priority: MEGA, Proton Drive (via rclone), Tresorit.
  • If you’re on a budget: pCloud free 10 GB affordable lifetime, MEGA 20 GB free.
  • If you want easy rclone integration: Proton Drive, Filen, any S3-compatible remote.

How to Use Each with CLI (Examples Common Issues)

pCloud

pCloud offers pcloudcc, an official ARM-compatible client that can mount or sync folders.

Install and mount:

sudo apt-get update
wget https://downloads.pcloud.com/pcloudcc_2.0.1_armhf.deb
sudo dpkg -i pcloudcc_2.0.1_armhf.deb
sudo apt-get -f install   # resolve dependencies if any

# Mount remote storage to /mnt/pcloud
pcloudcc --user your_email@example.com --pass your_password --mountpoint /mnt/pcloud

Common issues:

  • “FUSE: bad mount point” → ensure /mnt/pcloud exists and is owned by osmc.
  • Password prompts hanging → pass credentials via flags or use environment variables to avoid interactive mode.

MEGA (mega-cmd)

mega-cmd provides a full shell and background sync on ARM.

sudo apt-get update
sudo apt-get install mega-cmd

# Login
mega-login your_email@example.com your_password

# Sync a folder
mega-sync /home/osmc/Videos /Root/Videos

Common issues:

  • Sync stops but process remains → use mega-sync --remove to reset.
  • SSL errors → update system CA certificates: sudo update-ca-certificates.

Icedrive

Icedrive publishes CLI binaries for ARM. If you have trouble, use rclone’s icedrive backend.

# Download and install (example URL, check official site)
wget https://cdn.icedrive.net/linux-arm/icedrive-cli-latest.tar.gz
tar -xzvf icedrive-cli-latest.tar.gz
sudo mv icedrive /usr/local/bin/

# Authenticate
icedrive auth login

# List contents
icedrive fs ls /

Common issues:

  • “Permission denied” → ensure binary is executable: chmod x /usr/local/bin/icedrive.
  • Login token expires → re-run auth login.

Proton Drive (via rclone)

Proton has no official Linux CLI yet, but rclone supports it.

sudo apt-get update
sudo apt-get install rclone

# Configure Proton Drive remote
rclone config
  n) New remote
  name> proton
  Storage> Proton Drive
  Follow interactive OAuth steps

# List root files
rclone ls proton:

Common issues:

  • OAuth callback fails on headless → use rclone authorize “proton” on desktop, then copy token.
  • Rate limits → add --tpslimit 1 to operations.

Filen (via rclone)

Filen also integrates with rclone as “filen”:

sudo apt-get install rclone

# Configure Filen
rclone config
  n) New remote
  name> filen
  Storage> Filen
  Enter API key from your Filen dashboard

# Sync a folder
rclone sync /home/osmc/Backups filen:Backups

Common issues:

  • “unauthorized” → re-generate API key on filen.io.
  • Large files timeout → add --timeout 10m.

Tresorit

Tresorit offers a Linux CLI for business users. ARM builds may not be officially published—if missing, use rclone’s S3 or WebDAV interface.

# Official CLI (x64 example)
wget https://download.tresorit.com/linux/tresorit-cli-latest-linux-x64.tar.gz
tar -xzvf tresorit-cli-.tar.gz
sudo mv tresorit /usr/local/bin/

# Login and sync
tresorit login
tresorit sync /home/osmc/Documents /Tresorit/Projects

Common issues:

  • ARM binary not available → use rclone config with Tresorit’s WebDAV endpoint: https://webdav.tresorit.com.
  • TLS errors → install libcurl4-openssl-dev and restart.

Conclusion

For OSMC on Raspberry Pi, pCloud and mega-cmd lead in ease of installation and ARM compatibility. If you prefer open-source flexibility, rclone unlocks Proton Drive, Filen and other backends. Icedrive is a newcomer with native CLI, while Tresorit caters to enterprise encryption needs. Choose based on storage size, encryption level and whether an official ARM CLI is required.

Be the first to leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *