Best cloud storage services with CLI for Netrunner: (Tutorial)

TopLinux

Best Cloud Storage Services with CLI Support for Linux Netrunner

Linux Netrunner users who rely on the command line often need robust cloud storage solutions that integrate seamlessly with their workflows. Below is an extensive guide covering top providers—pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—and a few extra options. You’ll find a comparison table, recommendations for Netrunner, advice on choosing the right service, CLI usage examples, and common troubleshooting tips.

Top Recommendations for Linux Netrunner

  • pCloud: Generous free tier, mature pcloudcc CLI, optional client-side encryption.
  • MEGA: 20 GB free, end-to-end encryption by default, official megacmd.
  • Proton Drive: Strong privacy focus, full zero-knowledge encryption, community CLI clients.
  • Filen: European host, built-in e2ee, Golang-based CLI.
  • Tresorit: Enterprise-grade security, official CLI integration via SDKs or third-party tools.
  • Icedrive: Zero-knowledge encryption, modern and lightweight CLI.
  • Extras: rclone (supports Google Drive, OneDrive, Nextcloud), Nextcloud (self-hosted), onedrive-d.

Comparison Table

Provider Free Tier Encryption Official CLI Link
pCloud 10 GB Optional e2ee (paid) pcloudcc / pcloudcmd pcloud.com
MEGA 20 GB End-to-end megacmd mega.nz
Proton Drive 1 GB Zero-knowledge proton-drive-cli proton.me/drive
Filen 5 GB End-to-end filen-client filen.io
Tresorit 3 GB End-to-end third-party via SDK tresorit.com
Icedrive 10 GB TAES (zero-knowledge) icedrive-cli icedrive.net

Which Service to Choose?

Selecting the right cloud storage depends on several factors:

  • Privacy Security: Proton Drive, Tresorit, MEGA, and Icedrive lead on zero-knowledge encryption.
  • Free Storage: MEGA (20 GB) and Icedrive/pCloud (10 GB) offer the largest free quotas.
  • CLI Maturity: MEGA’s megacmd and pCloud’s pcloudcc are battle-tested.
  • Cost: Check paid plans if you exceed the free tier pCloud lifetime deals can be very cost-effective.
  • Ecosystem: rclone supports many providers if you need multi-cloud sync.

Using Each Provider with CLI on Linux Netrunner

1. pCloud (pcloudcc / pcloudcmd)

pCloud offers two CLI tools: pcloudcc (for mounting) and pcloudcmd (for file operations).

  • Installation:
sudo apt update
sudo apt install pcloudcc pcloudcmd
  • Login and configuration:
pcloudcc --register
# Follow prompt to enter email/password
pcloudcc --mount /mnt/pcloud
pcloudcmd list
  • Common issues:
  • Fuse permissions: ensure user_allow_other is uncommented in /etc/fuse.conf.
  • Stalled uploads: try pcloudcmd sync local/ remote/ instead of mount.

2. MEGA (megacmd)

Official CLI with advanced sync, share, and chat capabilities.

  • Installation:
sudo apt update
sudo apt install megacmd
  • Initialize and login:
mega-login your-email@domain.com
mega-password
mega-mkdir /Root/backup
mega-put ~/Documents/ /Root/backup
  • Common issues:
  • Connection timeouts: adjust --retries and --timeout flags.
  • Quota exceeded: check account usage with mega-quota.

3. Proton Drive (proton-drive-cli)

Unofficial CLI maintained by the community supports upload/download sync.

  • Prerequisites: nodejs and npm.
  • Installation:
sudo apt install nodejs npm
npm install -g proton-drive-cli
  • Authentication:
proton-drive login
# Follow browser-based OAuth flow
  • Basic upload/download:
proton-drive upload ./file.txt /
proton-drive download /file.txt ./file.txt
  • Common issues:
  • Rate limits: avoid rapid script loops add sleep.
  • Token expiration: re-run proton-drive login.

4. Filen (filen-client)

European privacy–focused provider with CLI in Go.

wget https://filen.io/cli/latest/filen-linux-amd64 -O filen
chmod  x filen
sudo mv filen /usr/local/bin/
filen auth login
  • Usage:
filen upload local_folder/ remote:/
filen download remote:/file.zip .

5. Tresorit

No official standalone CLI, but you can use rclone with the Tresorit API.

  • Install rclone:
curl https://rclone.org/install.sh  sudo bash
  • Configure Tresorit remote:
rclone config
# New remote -> name: tresorit -> choose tresorit
# Follow prompts for client ID/secret
  • Sync example:
rclone sync ~/data tresorit:Backup

6. Icedrive (icedrive-cli)

Lightweight official CLI with zero-knowledge encryption.

  • Download and install:
wget https://github.com/Icedrive/icedrive-cli/releases/download/v1.2.0/icedrive-linux-amd64.tar.gz
tar -xzvf icedrive-linux-amd64.tar.gz
sudo mv icedrive /usr/local/bin/
icedrive login
  • Usage:
icedrive upload ./docs /Documents
icedrive download /Documents/report.pdf .

Extra Options via rclone Self-Hosting

  • Google Drive with rclone (guide).
  • OneDrive via onedrive-d.
  • Nextcloud self-host with nextcloud-client or rclone.

Troubleshooting Best Practices

  • Always keep CLI tools updated.
  • Monitor quotas and usage (mega-quota, pcloudcmd info).
  • Use screen or tmux for long sync jobs.
  • Check official status pages or GitHub issue trackers for outages.
  • Securely store API keys and tokens (use pass or a password manager).

With these tools and services, Linux Netrunner users can integrate powerful, encrypted, and scriptable cloud storage into their daily workflows. Choose the provider that best fits your security, storage size, and CLI maturity needs, and enjoy seamless file management from the command line.

Be the first to leave a comment

Leave a Reply

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