Best cloud storage services with CLI for Greenie Linux: (Tutorial)

TopLinux

Introduction

Greenie Linux is a lightweight Ubuntu-based distribution popular for its stability and user-friendliness. When working on servers or minimal systems, a command-line cloud storage client is often indispensable. This article reviews the best cloud storage solutions that provide native or easily configurable CLI tools on Greenie Linux. We’ll examine pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive, and add Backblaze B2 and Amazon S3 for power users. You’ll find a comparison table with links, recommendations, CLI installation and usage instructions, and troubleshooting tips.

Top Cloud Storage Solutions with CLI Support

Service Website Free Tier End-to-End Encryption CLI Tool
pCloud pcloud.com 10 GB (expandable) Optional Crypto Folder pcloudcc
MEGA mega.io 20 GB Built-in E2EE MEGAcmd
Proton Drive proton.me/drive 1 GB Always E2EE proton-drive-cli
Filen filen.io 10 GB Optional E2EE rclone (WebDAV)
Tresorit tresorit.com 3 GB Always E2EE tresorit-cli
Icedrive icedrive.net 10 GB Optional Crypto rclone (WebDAV) / community
Backblaze B2 backblaze.com 10 GB Server-side E2EE via tools b2
Amazon S3 aws.amazon.com/s3 5 GB (Free Tier) Server-side client-side via SDK awscli

Feature Comparison

  • Storage and Pricing: MEGA and Icedrive offer the largest free quotas Backblaze and AWS are pay-as-you-go ideal for archiving.
  • Security: Proton Drive, MEGA, and Tresorit enforce end-to-end encryption by default.
  • CLI Maturity: pCloud and MEGA have official, well-maintained clients. Others rely on rclone or community CLI tools.
  • Platform Integration: AWS S3 and B2 integrate perfectly with DevOps pipelines consumer services focus on personal backup and sync.

Which One Should You Choose?

  1. If you need maximum free space and straightforward CLI: go with MEGA or pCloud.
  2. If privacy is paramount: Proton Drive or Tresorit.
  3. For enterprise/devops: Amazon S3 or Backblaze B2 with awscli or b2.
  4. If you want a balanced personal service: Icedrive (rclone) or Filen (WebDAV rclone).

CLI Usage Guide for Greenie Linux

1. pCloud (pcloudcc)

Install via repository or compile from source.

sudo apt update
sudo apt install git build-essential cmake libcrypto  -dev libssl-dev libcurl4-openssl-dev
git clone https://github.com/pcloudcom/console-client.git
cd console-client
cmake .
make
sudo make install

Authenticate and sync:

pcloudcc -u your_email@example.com -p YourPassword
# List remote files
pcloudcc --list
# Download
pcloudcc --download /remote/path /local/path
# Upload
pcloudcc --upload /local/file /remote/folder

2. MEGA (MEGAcmd)

Official Debian package:

wget https://mega.nz/linux/MEGAsync/xUbuntu_20.04/amd64/megacmd_1.5.0-1.0.1_amd64.deb
sudo dpkg -i megacmd_.deb
sudo apt-get install -f

Use:

mega-login you@email.com YourPassword
mega-ls /
mega-put myfile.txt /Root
mega-get /Root/file.txt ./downloaded.txt
mega-sync /local/folder /Root/backup

3. Proton Drive (proton-drive-cli)

Community client via npm:

sudo apt install nodejs npm
npm install -g proton-drive-cli

Authenticate and sync:

proton-drive login
proton-drive list
proton-drive download /myfolder /local/path
proton-drive upload ./file.txt /myfolder

4. Filen (via rclone WebDAV)

Install rclone:

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

Configure WebDAV remote:

rclone config
# New remote: name=filen
# Storage: WebDAV
# URL: https://webdav.filen.io
# vendor: other
# user/pass: your Filen credentials

Usage:

rclone ls filen:
rclone copy /local/dir filen:backup
rclone sync filen:photos /local/photos

5. Tresorit (tresorit-cli)

Download and install:

wget https://download.tresorit.com/tresorit-cli/linux/tresorit-cli.deb
sudo dpkg -i tresorit-cli.deb
sudo apt-get install -f

Authenticate and manage:

tresorit login me@example.com
tresorit list
tresorit sync myTresor /local/folder
tresorit download myTresor/Secret.txt ./Secret.txt

6. Icedrive (rclone / community client)

Use rclone WebDAV or community script:

# rclone WebDAV
rclone config
# URL: https://api.icedrive.net/webdav
# user/pass: your credentials

Then:

rclone ls icedrive:
rclone copy localfile icedrive:/Backup

7. Backblaze B2 (b2 CLI)

Install:

pip3 install b2

Authenticate and use:

b2 authorize-account yourID yourApplicationKey
b2 ls my-bucket
b2 upload-file my-bucket myfile.txt /local/myfile.txt
b2 download-file-by-name my-bucket myfile.txt ./downloaded.txt

8. Amazon S3 (awscli)

Install:

sudo apt install awscli
aws configure
# Enter Access Key, Secret Key, region, default format

Operations:

aws s3 ls s3://my-bucket
aws s3 cp myfile.txt s3://my-bucket/
aws s3 sync /local/dir s3://my-bucket/backup

Typical Problems and Troubleshooting

  • Authentication failures: Double-check email/password and two-factor codes. Some CLIs require app-specific passwords.
  • Dependency errors: Ensure all development libraries (OpenSSL, cURL) are installed before building from source.
  • Rate limits: Consumer plans may throttle heavy CLI operations consider upgrading if syncing large datasets.
  • Unicode/file names: Use UTF-8 locales (export LANG=en_US.UTF-8) to avoid garbled names.
  • Mount conflicts: Some CLIs mount FUSE volumes ensure fuse and appropriate kernel modules are loaded.

Conclusion

Greenie Linux users have a rich set of cloud storage options with robust CLI tools. For straightforward personal backup, MEGA or pCloud excel. For privacy-focused workflows, Proton Drive and Tresorit shine. Enterprises and DevOps professionals will appreciate the flexibility of Backblaze B2 and AWS S3. Armed with the examples and troubleshooting tips above, you can integrate any of these services into your Greenie Linux environment seamlessly.

Be the first to leave a comment

Leave a Reply

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