Best cloud storage services with CLI for ClonOS: (Guide)

TopLinux

Introduction

For system administrators, DevOps engineers and power users running ClonOS (Debian/Ubuntu-based Linux), having a reliable cloud storage solution with a fully featured Command-Line Interface (CLI) is essential. In this article we compare six leading services (pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive) and two additional options (Dropbox, Google Drive via rclone). We provide a detailed comparison table, usage instructions for each CLI tool, typical troubleshooting tips, and recommendations to help you select the best service for your ClonOS environment.

Top CLI Cloud Storage Options for ClonOS

Comparison Table

Service Free Storage Paid Plans Encryption Official CLI Link
pCloud 10 GB (up to 20 GB via referrals) From €4.99/month Client-side (pCloud Crypto addon) pcloudcc https://www.pcloud.com/
MEGA 20 GB (renewable via achievements) From €4.99/month End-to-end MEGAcmd https://mega.nz/
Proton Drive 1 GB From €2.49/month End-to-end protondrive-cli https://proton.me/drive
Filen 5 GB From €3.00/month End-to-end filen-cli https://www.filen.io/
Tresorit 3 GB (trial) From €10.42/user/month End-to-end tresorit-cli https://tresorit.com/
Icedrive 10 GB From €1.67/month Client-side (Lite amp Pro plans) icedrive-cli https://icedrive.net/
Dropbox 2 GB From €7.99/month Transit/server-side dbxcli https://www.dropbox.com/
Google Drive 15 GB From 1.99/month (Google One) Transit/server-side rclone https://rclone.org/

Which Service to Choose?

Consider the following factors:

  • Security: If you require strict end-to-end encryption, MEGA, Proton Drive, Tresorit or Filen are best.
  • Budget: Icedrive and Google Drive via rclone often offer the most competitive pricing.
  • CLI Features: For advanced scripting, MEGAcmd and rclone are highly mature.
  • Ease of Setup: pCloud and Icedrive CLIs are straightforward to install.

Installing and Using Each CLI

1. pCloud (pcloudcc)

Install amp authenticate:

sudo apt update
sudo apt install pcloudcc
pcloudcc -u your-email@example.com -p yourpassword

Mount your pCloud drive:

pcloudcc -m /mnt/pcloud

Common issues:

  • “Could not connect to pCloud” ndash check network or firewall.
  • Mount errors ndash ensure fuse is installed (sudo apt install fuse).

2. MEGA (MEGAcmd)

Install amp login:

sudo apt update
sudo apt install megacmd
mega-login your-email@example.com yourpassword

Upload/download:

mega-put localfile.txt /Root/
mega-get /Root/remote.zip .

Troubleshooting:

  • Timeouts ndash adjust with mega-transfers --max-concurrent X.
  • “ENCRYPTION_ERROR” ndash verify your login credentials.

3. Proton Drive (protondrive-cli)

Prerequisites: Python 3.8 and pip.

pip install protondrive-cli
protondrive login

Basic commands:

protondrive upload file.txt /MyDrive/
protondrive download /MyDrive/file.txt .

Notes:

  • This CLI is in beta ndash expect occasional API changes.
  • “RateLimitExceeded” ndash wait or increase plan.

4. Filen (filen-cli)

curl -fsSL https://repo.filen.io/filen.gpg  sudo apt-key add -
echo deb https://repo.filen.io/debian stable main  sudo tee /etc/apt/sources.list.d/filen.list
sudo apt update
sudo apt install filen-cli
filen-cli login
  • Upload: filen-cli upload myfile.txt /
  • Download: filen-cli download /myfile.txt .

Issues:

  • “Invalid API Key” ndash re-run filen-cli login.

5. Tresorit (tresorit-cli)

curl -s https://download.tresorit.com/linux/cli/install.sh  sudo bash
tresorit login
  • Sync folder: tresorit sync start /path/to/local TRESOR_ID
  • Status: tresorit sync status

Common problems:

  • Missing dependencies ndash install libcurl4.
  • “Sync conflict” ndash use --conflict-resolution flag.

6. Icedrive (icedrive-cli)

wget https://github.com/Icedrive/cli/releases/download/v1.0.1/icedrive-cli-linux-amd64.tar.gz
tar xzf icedrive-cli-linux-amd64.tar.gz
sudo mv icedrive /usr/local/bin/
icedrive auth login
  • List: icedrive ls /
  • Download: icedrive get /file.txt .

Tips:

  • Ensure you’re on the latest release to avoid authentication errors.

7. Dropbox (dbxcli)

GO111MODULE=on go get -u github.com/dropbox/dbxcli
dbxcli list
dbxcli upload local.txt /remote/

Note: OAuth redirects require a browser on first run.

8. Google Drive via rclone

sudo apt install rclone
rclone config
# Follow the prompts to create gdrive remote
rclone ls gdrive:
rclone copy ~/Documents gdrive:Backup/Documents

Common errors:

  • “Invalid client secret” ndash create your own OAuth app in Google Console.
  • Rate limits ndash upgrade to Google One or throttle rclone with --tpslimit.

Conclusion

Each cloud provider offers distinct advantages. For maximum security and end-to-end encryption, MEGA, Proton Drive, Tresorit and Filen lead the pack. For affordability and ease of scripting, rclone with Google Drive or the Icedrive CLI are excellent choices. pCloud strikes a balance between free allowances and CLI simplicity. Evaluate your priorities—storage size, encryption, budget, and feature set—to pick the best fit for ClonOS. With the provided installation steps, usage examples, and troubleshooting tips, you can confidently integrate any of these CLI-based cloud solutions into your Linux workflow.

Be the first to leave a comment

Leave a Reply

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