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

TopLinux

Best Cloud Storage Services with CLI for Linux UBOS

Linux UBOS users seeking robust, terminal-driven cloud storage have several excellent options. This article reviews top services—pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—and adds rclone as a versatile aggregator. You will find a side-by-side comparison, guidance on choosing the right provider, detailed CLI usage examples, and troubleshooting tips.

Top Recommendation for UBOS

Among these, pCloud and MEGA stand out for native, well-maintained CLIs. For strong zero-knowledge encryption, Tresorit and Icedrive excel. If you want one CLI to rule them all, rclone can mount any of these services under a unified interface, simplifying backups and scripts on UBOS.

Comparison Table

Service Free Tier Encryption CLI Tool Link
pCloud 10 GB Optional client-side pcloudcc pcloud.com
MEGA 20 GB bonuses End-to-end mega-cmd mega.nz
Proton Drive 1 GB End-to-end proton-drive-cli proton.me/drive
Filen 10 GB End-to-end filen-cli (community) filen.io
Tresorit 3 GB End-to-end tresorit-cli tresorit.com
Icedrive 10 GB Client-side icedrive-cli icedrive.net
rclone n/a Depends on backend rclone rclone.org

How to Choose the Right Service

  • Storage Needs: MEGA offers the largest free tier pCloud and Icedrive give 10 GB.
  • Privacy Encryption: Tresorit, MEGA and Proton Drive use zero-knowledge encryption.
  • CLI Maturity: pCloud and MEGA have official, well-documented CLIs.
  • Integration: rclone eases scripting across multiple providers.
  • Budget: Compare paid plans—pCloud Lifetime and Icedrive Lifetime can be cost-effective.

CLI Usage for Each Provider

1. pCloud (pcloudcc)

Official Linux CLI daemon for sync and mount.

# Install (Debian/Ubuntu)
wget -qO- https://downloads.pcloud.com/linux/pcloudcc_latest.deb > pcloudcc.deb
sudo dpkg -i pcloudcc.deb
sudo apt-get install -f

# Authenticate
pcloudcc --login yourname --password yourpassword

# Sync a folder
pcloudcc --upload /home/ubos/data /pCloud/data

# Mount drive
pcloudcc --mountpoint /mnt/pcloud

Typical issues: FUSE mount requires fuse package and user in fuse group. If mount hangs, check /var/log/syslog for FUSE errors and re-login.

2. MEGA (mega-cmd)

# Install (Ubuntu PPA)
sudo apt-get update
sudo apt-get install megacmd

# Login
mega-login yourname@example.com yourpassword

# List files root
mega-ls /

# Upload
mega-put /home/ubos/backup /Backup

# Mount (FUSE)
mega-mount /mnt/mega

Common pitfalls: ensure mega-mount runs with correct FUSE permissions. If avaialability errors occur, re-authenticate or clear ~/.megaCmd/megacmd.db.

3. Proton Drive (proton-drive-cli)

# Install via pip
pip3 install proton-drive-cli

# Authenticate via browser flow
proton-drive login

# Sync a local folder
proton-drive sync up ~/documents /

Note: Proton Drive CLI is community-driven. OAuth may expire—re-run proton-drive login periodically. Check GitHub issues for token refresh patches.

4. Filen (filen-cli)

# Clone project
git clone https://github.com/filen/filen-cli.git
cd filen-cli
make install

# Login
filen login

# Upload
filen upload ~/videos /

Be aware: Filen CLI is unofficial. API rate limits can trigger quot429 Too Many Requestsquot–space out operations or switch to WebDAV if needed.

5. Tresorit (tresorit-cli)

# Download install script
bash 

Watch out for: strict permission checks—run tresorit daemon in foreground to diagnose. Upgrade to the latest CLI to avoid outdated API issues.

6. Icedrive (icedrive-cli)

# Download binary
wget https://downloads.icedrive.io/linux/icedrive-cli.zip
unzip icedrive-cli.zip
sudo mv icedrive /usr/local/bin/

# Login
icedrive auth login

# List root
icedrive ls /

# Upload
icedrive cp ~/report.pdf /

Common problem: if slice uploads fail, downgrade to curl 7.68 or above. Check network timeouts with --debug flag.

7. rclone (multi-cloud)

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

# Configure
rclone config
# Choose new remote, select service, enter credentials

# List remote
rclone ls :

# Mount remote
rclone mount : /mnt/remote --daemon

# Sync local to remote
rclone sync /home/ubos/data :/backup

rclone solves vendor lock-in and scripting across providers. Ensure FUSE v3 is installed. Use --log-file and --verbosity to debug.

Typical Problems and Solutions

  • FUSE Mount Failures: install fuse/fuse3, add your user to the fuse group, check kernel modules.
  • Authentication Expiry: many CLIs store tokens—watch expiry and re-run login commands.
  • API Rate Limits: throttle your sync, batch large uploads, or use official endpoints.
  • Permission Denied: run CLI as your user (not root), correct file ownership, or adjust SELinux/AppArmor if enabled.

Conclusion

For UBOS Linux, choosing the right cloud CLI depends on your priorities. If you want native support and large free storage, go with MEGA or pCloud. If client-side zero-knowledge is critical, consider Tresorit or Icedrive. For ultimate flexibility, use rclone to manage all services under a single interface. Follow the examples above to install, configure, and troubleshoot, and you’ll have a reliable command-line storage solution in no time.

Be the first to leave a comment

Leave a Reply

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