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

TopLinux

Introduction

Linux Nitrux users often seek reliable cloud storage solutions that integrate smoothly with the command line interface (CLI). Whether you’re a developer, sysadmin or power user, CLI-driven workflows can significantly streamline file transfers, backups and automation tasks. In this article, we review the top cloud storage providers offering native or community-supported CLI tools, compare their key features and guide you on installation, usage and troubleshooting on Linux Nitrux.

Top Cloud Storage Providers with CLI

Comparison Table

Provider CLI Tool Free Storage End-to-End Encryption Official CLI Link
pCloud pcloudcc 10 GB (up to 20 GB with referrals) No (TLS in transit) Yes pcloud.com
MEGA megacmd 20 GB (up to 50 GB promotions) No (TLS in transit) Yes mega.nz
Proton Drive protondrive-cli 1 GB Yes (E2EE) Community proton.me/drive
Filen filen-cli 10 GB Yes (E2EE) Community filen.io
Tresorit tresorit-cli 3 GB (trial) Yes (E2EE) Yes tresorit.com
Icedrive icedrive-cli 10 GB Yes (E2EE) Community icedrive.net
Dropbox Dropbox-Uploader 2 GB No (TLS in transit) Community dropbox.com
Google Drive gdrive 15 GB No (TLS in transit) Community drive.google.com

Which One to Choose?

  • Best Free Tier: MEGA offers 20 GB baseline and robust CLI.
  • Best Security: Tresorit, Filen and Proton Drive provide end-to-end encryption.
  • Best Budget/Permanent: pCloud lifetime plan and Icedrive annual pricing.
  • Straightforward CLI: MEGA (megacmd) and pCloud (pcloudcc) have official, well-documented clients.

How to Use Each Service with CLI

1. pCloud (pcloudcc)

Install:

sudo apt install pcloudcc

Login and Mount:

pcloudcc --user your@email.com --pass YourPassword
pcloudcc --mountpoint ~/pcloud

Common issues: Failed to mount? Check fuse version and ensure fuse package is installed.

2. MEGA (megacmd)

Install:

sudo apt update
sudo apt install megacmd

Login and Sync:

mega-login your@email.com YourPassword
mega-sync ~/local_folder /Root/remote_folder

Typical problem: “API error EEXIST”? Use mega-sync --no-compress or set a unique remote path.

3. Proton Drive (protondrive-cli)

Install (via pip):

python3 -m pip install protondrive-cli

Authenticate:

protondrive login
# Follow the URL and paste the auth code

Upload a file:

protondrive upload myfile.txt /Drive/Folder/

Note: Proton Drive CLI is community-maintained watch out for API rate limits.

4. Filen (filen-cli)

Install via npm:

sudo apt install npm
npm install -g filen-cli

Configure and Upload:

filen-cli configure
# Enter credentials when prompted
filen-cli upload ./project.zip /backups/

Watch for: “Network timeout” – increase the retry count in ~/.filen-cli.json.

5. Tresorit (tresorit-cli)

Download official Debian package:

wget https://download.tresorit.com/tresorit-cli_1.0.0_amd64.deb
sudo dpkg -i tresorit-cli_.deb
sudo apt -f install

Login and Sync:

tresorit-cli login
tresorit-cli sync ~/LocalFolder Tresorit/RemoteFolder

Tip: Use --verbose flag to troubleshoot syncing failures.

6. Icedrive (icedrive-cli)

Install via Snap:

sudo snap install icedrive --edge

Authenticate and Mount:

icedrive-cli login
icedrive-cli mount ~/icedrive

Ensure FUSE is available on some kernels you may need sudo modprobe fuse.

7. Dropbox (Dropbox Uploader)

Install:

git clone https://github.com/andreafabrizi/Dropbox-Uploader.git
cd Dropbox-Uploader
chmod  x dropbox_uploader.sh

Configure and Upload:

./dropbox_uploader.sh
# Follow prompts to authorize
./dropbox_uploader.sh upload test.pdf /Backups/

8. Google Drive (gdrive CLI)

Install:

wget -O gdrive https://github.com/prasmussen/gdrive/releases/download/2.1.0/gdrive-linux-x64
chmod  x gdrive
sudo mv gdrive /usr/local/bin/

Authorize and Upload:

gdrive about
# Follow the URL for OAuth
gdrive upload --parent  mydoc.txt

Typical Problems and Troubleshooting

  • Authentication Failures: Double-check tokens, remove stale config files (~/.config/…).
  • Dependencies Missing: Ensure fuse, curl, python3 or npm are installed as required.
  • Network Timeouts: Increase retry counts, verify firewall allows outgoing HTTPS.
  • Mount Issues: Confirm user is in fuse group and kernel supports FUSE.
  • Rate Limits: For community CLIs, respect API quotas or add delays in scripts.

Conclusion

Choosing the right CLI-capable cloud storage for Linux Nitrux depends on your priorities—free space, security, performance and budget. For seamless official support, pCloud and MEGA stand out. If end-to-end encryption is critical, Proton Drive, Filen and Tresorit lead the pack. Icedrive balances ease of use with solid encryption. Finally, community tools for Dropbox and Google Drive remain viable for hybrid workflows. Follow each provider’s CLI documentation, address common pitfalls and incorporate these tools into your daily automation to maximize productivity on Nitrux.

Be the first to leave a comment

Leave a Reply

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