Best cloud storage services with CLI for LinHES (formerly KnoppMyth): (Tutorial)

TopLinux

Introduction

LinHES (formerly KnoppMyth) is a specialized Linux distribution tailored for home theater PC (HTPC) and media server setups. For enthusiasts who manage large multimedia libraries, reliable cloud storage accessible via Command Line Interface (CLI) is essential for automation, backups, and remote management. This article reviews the top cloud storage services with robust CLI tools, compares their features, and walks through practical usage examples and common troubleshooting tips.

Top Recommended Services for LinHES

  • pCloud – Secure, zero-knowledge option with native Linux CLI
  • MEGA – Generous free tier and end-to-end encryption
  • Proton Drive – Privacy-focused, strong encryption, growing feature set
  • Filen – European-based, privacy by design
  • Tresorit – Enterprise-grade security, zero-knowledge
  • Icedrive – Modern interface, client-side encryption
  • Backblaze B2 – Cost-effective S3-compatible object storage
  • Wasabi – High-performance, affordable S3-compatible storage
  • Rclone (Multi-provider) – Unified CLI for dozens of cloud services

Comparison Table

Service Website Free Tier Encryption CLI Availability Notes
pCloud pcloud.com 10 GB At-rest amp client-side (optional) pcloudcc Native CLI, easy setup
MEGA mega.nz 20 GB End-to-end megacli / megatools High free storage, complex auth
Proton Drive proton.me/drive 1 GB End-to-end proton-drive-cli Newer CLI, growing features
Filen filen.io 10 GB End-to-end filen-cli GDPR-compliant, EU-based
Tresorit tresorit.com 3 GB End-to-end tresorit-cli Business focus, strong security
Icedrive icedrive.net 10 GB Client-side icedrive-cli Mountable drive, modern UI
Backblaze B2 backblaze.com/b2 10 GB Server-side b2cli / rclone Very affordable, S3 API
Wasabi wasabi.com None Server-side rclone / aws-cli S3-compatible, no egress fees
Rclone rclone.org N/A Depends on backend rclone Universal CLI for 40 providers

Which One to Choose?

Your choice depends on:

  • Security: Need zero-knowledge? Choose pCloud, Tresorit, or Icedrive.
  • Budget: For low cost per GB, consider Backblaze B2 or Wasabi.
  • Free Tier: MEGA (20 GB), pCloud (10 GB) and Icedrive (10 GB) offer generous free plans.
  • Integration: If you already use rclone, adding B2 or Wasabi is trivial.
  • Privacy: European-based Filen and Proton Drive emphasize GDPR and Swiss privacy.

Using Each Service with CLI

pCloud CLI

Install pcloudcc and authenticate:

# On Debian/Ubuntu
sudo apt update
sudo apt install pcloudcc

# Start pCloud CLI daemon
pcloudcc -u your_email@example.com -p your_password

Examples:

# List remote files
pcloudcc list

# Upload file
pcloudcc upload /path/to/local.mp4 /remote/folder/

# Download file
pcloudcc download /remote/folder/remote.mp4 /local/path/

Common issues: Daemon not starting – ensure you run with proper credentials and firewall allows port 443 outbound.

MEGA CLI (megatools)

Install megatools:

sudo apt install megatools

Configure ~/.megarc:

[Login]
Username = your_email@example.com
Password = your_password
# List files
megatools ls

# Upload
megatools put --local /path/to/file --remote /

Typical problems: Two-factor authentication may require an app password or session token.

Proton Drive CLI

Install community CLI:

sudo snap install proton-drive-cli
# or via pip
pip3 install proton-drive-cli
# Login (browser-based auth)
proton-drive-cli login

# List files
proton-drive-cli ls

# Upload
proton-drive-cli upload /path/to/file My Drive/Folder/

Issues: Initial OAuth may hang. Use --headless or ensure browser is installed.

Filen CLI

Download from official:

# Fetch binary, make executable
wget https://filen.io/download/filen-cli-linux
chmod  x filen-cli-linux
sudo mv filen-cli-linux /usr/local/bin/filen
# Initialize and login
filen init
# Follow URL-based authentication

# Operations
filen ls /
filen upload /local/video.mkv /remote/
filen download /remote/video.mkv /local/

Watch out: Token expiration may occur re-run filen init.

Tresorit CLI

Install and link your Tresor:

sudo apt install tresorit-cli
tresorit login
# Follow the device activation link
tresorit list
tresorit upload /local/file.mp4 MyTresor/Folder/

Common hiccups: Firewall blocking websocket. Open port 443 TCP.

Icedrive CLI

Get the binary:

wget https://api.icedrive.net/cli/linux/icedrive-cli
chmod  x icedrive-cli
sudo mv icedrive-cli /usr/local/bin/icedrive
# Login
icedrive login

# Basic commands
icedrive ls
icedrive put /local/file /remote/
icedrive get /remote/file /local/

Note: CLI is evolving check for updates regularly.

Backblaze B2 CLI

Use official or rclone:

# Install b2 CLI
pip3 install b2

# Authorize
b2 authorize-account YOUR_ACCOUNT_ID YOUR_APP_KEY

# Create bucket and upload
b2 create-bucket my-bucket allPrivate
b2 upload-file my-bucket /local/video.mp4 video.mp4

Problems: Time sync issues – ensure NTP is running.

Wasabi via rclone

# Install rclone
curl https://rclone.org/install.sh  sudo bash

# Configure Wasabi remote
rclone config
# Choose n) New remote, name=wasabi, storage=AWS S3, endpoint=wasabi.com
# Enter your Wasabi key and secret

# List and sync
rclone ls wasabi:my-bucket
rclone sync /local/folder wasabi:my-bucket

Watch for: Region-specific endpoints (e.g., s3.us-west-1.wasabisys.com).

Conclusion

For LinHES users managing media and backups, a CLI-capable cloud solution brings automation and remote accessibility. Choose based on security needs, budget, and integration preference. Native CLIs like pCloud, MEGA, Proton Drive, Filen, Tresorit, and Icedrive offer direct workflows, while Backblaze B2 and Wasabi (via rclone) provide cost-effective scalability. Rclone itself serves as a universal tool for dozens of other providers, streamlining your HTPC backup strategy.

Be the first to leave a comment

Leave a Reply

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