Introduction
Linux Mageia users who prefer managing cloud storage from the command line have a growing selection of providers offering native or third-party CLI tools. Whether you value privacy, speed, large free tiers or advanced encryption, this article covers the best options—including pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive, Dropbox and Google Drive—complete with installation instructions, usage examples and troubleshooting tips.
1. Comparison Table
| Service | Official CLI | Third-Party CLI | Free Tier | Pricing (Paid) | Link |
|---|---|---|---|---|---|
| pCloud | Yes (pcloudcc) | – | 10 GB ( bonuses) | €4.99/month (500 GB) | pCloud |
| MEGA | Yes (megacmd) | – | 20 GB ( bonuses) | €9.99/month (400 GB) | MEGA |
| Proton Drive | No | Yes (pdrive-cli) | 1 GB | €3.99/month (200 GB) | Proton Drive |
| Filen | No | Yes (filen-cli) | 20 GB | 4.99/month (400 GB) | Filen |
| Tresorit | Yes (tresorit-cli) | Yes (via rclone) | 3 GB | €12.50/month (200 GB) | Tresorit |
| Icedrive | Yes (icedrive-cli) | Yes (via rclone) | 10 GB | €4.17/month (150 GB) | Icedrive |
| Dropbox | No | Yes (dbxcli) | 2 GB | 9.99/month (2 TB) | Dropbox |
| Google Drive | No | Yes (gdrive) | 15 GB | 1.99/month (100 GB) | Google Drive |
2. Top Recommendations for Mageia
- pCloud – Excellent official CLI, generous free space, European-based.
- MEGA – Large free tier, robust end-to-end encryption, official megacmd client.
- Icedrive – Modern UI, native CLI, and client-side encryption.
- Dropbox – Well-known, third-party CLI available, solid syncing.
3. Deep Dive: Installing and Using Each CLI
3.1 pCloud
pCloud offers pcloudcc, a native command-line client.
Installation on Mageia:
# Enable rpmfusion if needed sudo urpmi pcloudcc
Basic usage:
# Log in pcloudcc --login your@email.com # Upload a file pcloudcc --upload /home/user/file.txt /Backup/ # List remote folders pcloudcc --list /Backup
Typical issues:
- “Invalid credentials” – ensure email and password are correct or reset via web.
- Mount errors – check FUSE is installed:
urpmi fuse.
3.2 MEGA
MEGA’s official CLI is megacmd.
# Install megacmd sudo urpmi megacmd # Start daemon mega-cmd-server # Log in mega-login youremail@domain.com # Upload file mega-put /home/user/file.txt /Root/Backup # Download folder mega-get /Root/Photos ~/Photos
Common problems:
- Port conflicts on startup – try
mega-cmd-server --port 5000. - SSL errors – update system CA certificates:
urpmi ca-certificates.
3.3 Proton Drive
Officially no CLI yet use pdrive-cli (community).
# Install via npm sudo urpmi npm sudo npm install -g proton-drive-cli # Authenticate pdrive login # Upload a file pdrive upload /home/user/document.pdf # List items pdrive list
Watchpoints:
- 2FA support is experimental – disable or use app password.
- Rate limits – avoid too many parallel uploads.
3.4 Filen
CLI available at filen-cli.
# Download latest AppImage wget https://github.com/filen-io/filen-cli/releases/latest/download/filen-linux chmod x filen-linux sudo mv filen-linux /usr/local/bin/filen # Initialize filen login # Upload filen upload /path/to/data.txt # Download filen download
Issues:
- “Permission denied” – ensure executable bit set.
- Missing dependencies – install
libfuse2if mounting fails.
3.5 Tresorit
Tresorit has a CLI (tresorit-cli) plus official Linux client also integratable via rclone.
# Official CLI (AppImage) wget https://github.com/tresorit/tresorit-cli/releases/latest/download/Tresorit-CLI.AppImage chmod x Tresorit-CLI.AppImage ./Tresorit-CLI.AppImage login # rclone config for Tresorit rclone config # choose tresorit, enter API keys
Troubleshooting:
- AppImage won’t execute – check FUSE (see pCloud section).
- rclone path conflicts – ensure latest rclone version via static binary.
3.6 Icedrive
Icedrive CLI is distributed as AppImage: icedrive-cli.
# Download and install wget https://github.com/IcedriveApp/cli/releases/latest/download/icedrive.AppImage chmod x icedrive.AppImage sudo mv icedrive.AppImage /usr/local/bin/icedrive # Authenticate icedrive login # Sync a folder icedrive sync /home/user/Photos /Photos # Share file icedrive share /Docs/report.pdf
Common issues:
- “Session expired” – re-login.
- Slow transfers – enable multipart:
icedrive config set multipart true.
3.7 Dropbox
Use dbxcli, a Go-based tool.
# Install from release wget https://github.com/dropbox/dbxcli/releases/latest/download/dbxcli-linux-amd64 chmod x dbxcli-linux-amd64 sudo mv dbxcli-linux-amd64 /usr/local/bin/dbxcli # Authenticate dbxcli login # Upload/download dbxcli put local.txt /remote.txt dbxcli get /remote.txt local.txt
Problems:
- OAuth browser step fails – generate token manually and set
DBX_TOKEN. - Rate limits – avoid looping too fast.
3.8 Google Drive
Use gdrive CLI.
# Download binary wget -O gdrive https://github.com/prasmussen/gdrive/releases/latest/download/gdrive-linux-x64 chmod x gdrive sudo mv gdrive /usr/local/bin/ # Authenticate (first run) gdrive about # Upload/download gdrive upload file.zip gdrive download--path ~/Downloads
Common hitches:
- “Token refresh failed” – delete ~/.gdrive/token_v2.json and re-auth.
- Quota exceeded – check Google account usage.
4. How to Choose the Right Service
- Privacy Encryption: MEGA, Tresorit and Icedrive provide end-to-end encryption.
- Free Storage: MEGA (20 GB) and pCloud (10 GB) lead the pack.
- CLI Maturity: pCloud and MEGA have official, well-maintained CLIs.
- Enterprise Features: Tresorit and Dropbox integrate with business workflows.
- Community Support: Rclone covers most services if official CLI is lacking.
5. Typical Problems Troubleshooting
- Authentication Failures: Re-run login commands, regenerate tokens, ensure system clock is correct.
- Dependencies: Install
fuse,ca-certificatesand language runtimes (Node.js, Python) as needed. - FUSE Mount Issues: Check
/etc/fuse.confand user permissions, enableuser_allow_other. - Rate Limits/Quota: Spread uploads into batches, avoid hitting API too frequently.
- AppImage Execution: Mark as executable, install FUSE, or extract using
--appimage-extract.
Conclusion
For Mageia users seeking robust command-line cloud storage, pCloud and MEGA are top choices due to their official CLI support and generous free plans. Icedrive and Tresorit excel in encryption, while community tools like dbxcli and gdrive fill gaps for Dropbox and Google Drive. Evaluate your priorities—privacy, price or integration—to pick the best fit, then follow the steps above to install, authenticate and master your CLI workflow.
Be the first to leave a comment