Introduction
Managing cloud storage via command-line on Source Mage GNU/Linux combines the flexibility of your distro with the power of automation and scripting. Whether you need encrypted personal backups, secure file sharing or high-capacity archives, a CLI client allows you to integrate cloud storage into cron jobs, scripts and container environments. This article reviews the best cloud storage providers with native or community-supported CLI tools on Source Mage GNU/Linux, compares their features, guides you in choosing the right one, and shows how to install and use each via the shell.
Top Recommended Services
- pCloud (https://www.pcloud.com/) – Zero-knowledge encryption, lifetime plans, cross-platform support with pcloudcc.
- MEGA (https://mega.io/) – End-to-end encryption, generous free tier, official MEGAcmd.
- Proton Drive (https://proton.me/drive) – Privacy-focused, zero-knowledge, CLI via rclone plugin.
- Filen (https://filen.io/) – Open-source, end-to-end encryption, official filen-cli.
- Tresorit (https://tresorit.com/) – Enterprise-grade security, official tresorit-cli.
- Icedrive (https://icedrive.net/) – Modern UI, zero-knowledge, official icedrive-cli.
- Dropbox (https://dropbox.com/) – Widely used, selective sync, official dropbox daemon CLI.
- Google Drive (via rclone) – Ubiquitous, integrates with G Suite, unofficial gdrive or rclone.
Comparison Table
| Service | Link | Free Storage | Encryption | Official CLI | Pricing |
|---|---|---|---|---|---|
| pCloud | pcloud.com | 10 GB | Client-side (optional) | pcloudcc (GitHub) | From €4.99/mo |
| MEGA | mega.io | 20 GB | End-to-end | MEGAcmd (GitHub) | From €4.99/mo |
| Proton Drive | proton.me/drive | 1 GB | End-to-end | rclone plugin (docs) | €1.49/mo |
| Filen | filen.io | 10 GB | End-to-end | filen-cli (GitHub) | 2.99/mo |
| Tresorit | tresorit.com | 3 GB | End-to-end | tresorit-cli (GitHub) | From €10.42/mo |
| Icedrive | icedrive.net | 10 GB | Client-side | icedrive-cli (GitHub) | 4.99/mo |
| Dropbox | dropbox.com | 2 GB | Server-side | dropbox (official daemon) | 9.99/mo |
| Google Drive | rclone | 15 GB | Server-side | rclone or gdrive (GitHub) | Free / G Suite plans |
Which Service Should You Choose?
- If you need maximum privacy and client-side encryption: pCloud, Filen or Icedrive.
- For pure end-to-end security and generous free tier: MEGA.
- Enterprise or business use with compliance: Tresorit.
- Lightweight, scriptable, integrated with other Google services: Google Drive (rclone).
- If you prefer a native, officially supported Linux daemon: Dropbox or MEGAcmd.
- Strict open-source requirement: Filen or use rclone drivers for Proton Drive and Google Drive.
Installing and Using Each CLI
pCloud (pcloudcc)
- Install dependencies (FUSE, cmake, gcc):
- Clone and build:
git clone https://github.com/pcloudcom/pcloudcc.git cd pcloudcc mkdir build cd build cmake .. make sudo make install
- Configure and mount:
pcloudcc -u your@email.com -p YourPassword pcloudcc --mountpoint ~/pcloud
- Possible issues: FUSE kernel module not loaded, fix with
sudo modprobe fuse.
MEGA (MEGAcmd)
- Download install DEB or RPM from releases.
- Login and sync:
mega-login your@email.com YourPassword mega-sync ~/local-folder /Root/remote-folder
- Typical issue: phase-error with uploads, resolve by updating MEGAcmd or using
mega-sync -cto clean cache.
Proton Drive (via rclone)
- Install rclone:
curl https://rclone.org/install.sh sudo bash
- Configure Proton Drive:
rclone config # Choose n for new remote, name it proton # Select Proton Drive and follow OAuth flow
- Usage example:
rclone sync ~/myfolder proton:Backup
Filen
- Install Go, then build filen-cli:
git clone https://github.com/filen/filen-cli.git cd filen-cli go build -o filen sudo mv filen /usr/local/bin/
- Login and upload:
filen login filen upload /path/to/file /RemoteFolder/
Tresorit
- Download AppImage from GitHub.
- Make executable and run:
chmod x tresorit-cli.AppImage ./tresorit-cli.AppImage auth ./tresorit-cli.AppImage sync ~/local-folder tresorit://MyTresor
Icedrive
- Install icedrive-cli:
git clone https://github.com/Icedrive/icedrive-cli.git cd icedrive-cli sudo python3 setup.py install
- Authenticate and mount:
icedrive login icedrive mount ~/icedrive
Dropbox
- Install official Dropbox Linux CLI:
sudo emerge net-misc/dropbox # or download daemon from dropbox.com/install-linux
- Start daemon link account:
dropbox start -i dropbox link
Google Drive (rclone)
- Use rclone as for Proton Drive but select drive in config.
- Sync example:
rclone copy ~/photos gdrive:BackupPhotos
Troubleshooting Common Issues
- FUSE errors: Ensure
fusemodule is loaded and you’re infusegroup. - Authentication failures: Double-check OAuth flows, tokens and system time skew.
- Rate limits: Some APIs enforce limits—use
--bwlimitin rclone/MEGAcmd. - Permission denied: Ensure correct UID/GID when mounting, or use
--allow-othercarefully. - Missing dependencies: Install prerequisites (Go, Python3, FUSE, cmake, gcc).
Conclusion
Source Mage GNU/Linux users can choose from a variety of CLI-enabled cloud storage solutions. For pure privacy, pCloud or Filen stand out. MEGA offers a large free tier and simplicity. Enterprises will favor Tresorit, while everyday users may appreciate Dropbox or Google Drive via rclone. Evaluate your priorities—encryption, storage size, automation—and follow the installation and usage examples above to integrate cloud workflows into your shell environment.
Be the first to leave a comment