Best cloud storage services with CLI for openSUSE (formerly SUSE Linux): (Guide)

TopLinux

Best Cloud Storage with CLI for openSUSE

In today’s multi-platform world, having a reliable cloud storage solution with a robust command-line interface (CLI) is essential for power users and server administrators alike. For openSUSE (formerly SUSE Linux), this article explores the top cloud storage services offering native or third-party CLI tools, provides a detailed comparison, recommends solutions, explains how to set each one up, and outlines common pitfalls.

Top Recommended Services for openSUSE

Comparison Table

Service Link Free Storage Official CLI End-to-End Encryption Pricing (Monthly)
pCloud pcloud.com 10 GB (plus referrals) pcloudcmd Client-side (Crypto) €4.99 (500 GB)
MEGA mega.nz 20 GB MEGAcmd Client-side €4.99 (400 GB)
Proton Drive proton.me/drive 1 GB rclone amp proton-drive-cli Client-side €3.99 (200 GB)
Filen filen.io 14 GB filen-cli Client-side 4.99 (1 TB)
Tresorit tresorit.com 3 GB tresorit-cli Client-side €10.42 (200 GB)
Icedrive icedrive.net 10 GB icedrive-cli Client-side €1.67 (150 GB)
Dropbox dropbox.com 2 GB dropbox_uploader.sh Server-side 9.99 (2 TB)
Google Drive drive.google.com 15 GB rclone Server-side 1.99 (100 GB)

How to Choose the Right Service

  • Encryption: If you require zero-knowledge encryption, pCloud Crypto, MEGA, Tresorit, Filen or Icedrive are top candidates.
  • Storage vs Budget: Compare base storage tiers and long-term pricing. Icedrive offers budget friendly plans.
  • CLI Maturity: MEGAcmd and pcloudcmd are well-maintained. Proton Drive CLI is still experimental.
  • Integration: If you need to integrate with servers or CI/CD pipelines, choose services with robust CLI (rclone-compatible or official).

CLI Setup and Usage

1. pCloud (pcloudcmd)

pCloud provides pcloudcmd, a dedicated CLI for file operations and backups.

  1. Install from pCloud repository:
zypper addrepo https://linux.pcloud.com/pcloud.repo pcloud
zypper refresh
zypper install pcloudcmd
  1. Authenticate:
pcloudcmd --login user@example.com
# Enter password when prompted
  1. Basic Commands:
# Upload a file
pcloudcmd put localfile.txt /backup/

# Download a folder
pcloudcmd get /projects/ ~/local_projects/

# List remote directory
pcloudcmd ls /mydrive/

2. MEGA (MEGAcmd)

MEGAcmd offers mega-login, mega-put, and more.

# Install via zypper
zypper install megacmd

# Login
mega-login user@example.com myPassword

# Upload directory
mega-put /home/user/docs /Backup/docs

# Download file
mega-get /Backup/docs/report.pdf ~/report.pdf

# Sync a local folder to cloud
mega-sync /home/user/project /Project

3. Proton Drive (via rclone)

Proton Drive’s official CLI is under development use rclone for reliable access.

# Install rclone
zypper install rclone

# Configure Proton Drive
rclone config
# Choose n for new remote, name it proton
# Select protondrive as storage type
# Follow prompt to authenticate

# List files
rclone ls proton:

# Copy to cloud
rclone copy ~/photos proton:/photos_backup

# Sync (delete extraneous)
rclone sync ~/docs proton:/docs_sync

4. Filen (filen-cli)

filen-cli is a standalone Go-based CLI tool.

# Download binary
wget https://github.com/filen-io/filen-cli/releases/latest/download/filen-cli_linux_amd64.tar.gz
tar -xf filen-cli_linux_amd64.tar.gz
chmod  x filen-cli
mv filen-cli /usr/local/bin/

# Authenticate
filen-cli login
# Opens browser or prompts for API token

# Upload file
filen-cli upload ./report.docx /reports/

# Download
filen-cli download /reports/report.docx ./

# List
filen-cli list /

5. Tresorit (tresorit-cli)

Tresorit’s CLI is installed via their RPM repository.

# Add repo
zypper addrepo https://rpm.tresorit.com/cli/openSUSE/tresorit.repo tresorit
zypper refresh
zypper install tresorit

# Login
tzd login

# Initialize a tresor
tzd init MyTresor

# Upload and sync
tzd put local/folder MyTresor:/folder
tzd sync MyTresor

# List contents
tzd ls MyTresor:/folder

6. Icedrive (icedrive-cli)

icedrive-cli supports core file operations.

# Download and install
wget https://downloads.icedrive.net/linux/cli/icedrive-cli-linux.tar.gz
tar xf icedrive-cli-linux.tar.gz
chmod  x icedrive
mv icedrive /usr/local/bin/icedrive

# Login interactively
icedrive login

# Upload
icedrive upload ~/video.mp4 /Videos/

# Download
icedrive download /Videos/video.mp4 ~/video.mp4

# Listing
icedrive list /

7. Dropbox (dropbox_uploader.sh)

  1. Install Bash script:
wget https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh
chmod  x dropbox_uploader.sh
mv dropbox_uploader.sh /usr/local/bin/dropbox_uploader.sh
  1. Configure with API credentials:
dropbox_uploader.sh
# Follow prompts to paste App key and secret
  1. Commands:
# Upload
dropbox_uploader.sh upload file.txt /Backup/

# Download
dropbox_uploader.sh download /Backup/file.txt .

# List
dropbox_uploader.sh list /

8. Google Drive (rclone)

Use rclone to access Google Drive seamlessly.

# Configure
rclone config
# New remote -> name gdrive -> select drive -> follow OAuth

# List files
rclone ls gdrive:

# Copy to Drive
rclone copy ~/music gdrive:/Music

# Mirror local to cloud
rclone sync ~/workspace gdrive:/Workspace

Common Issues and Troubleshooting

  • Authentication Failures: Ensure you have valid API tokens, correct time settings, and no firewall blocking OAuth endpoints.
  • Permission Denied: Run CLI commands with appropriate user permissions or adjust file system ACLs.
  • Rate Limits: rclone and official CLIs may hit API quotas adjust --tpslimit or add --bwlimit.
  • Encoding Errors: Use UTF-8 locale (export LANG=en_US.UTF-8) to avoid filename issues.
  • Dependency Conflicts: If encountering library mismatches, consider installing CLI tools in isolated containers or using AppImage.

With these tools and best practices, openSUSE users can seamlessly integrate cloud storage into server scripts, backups, and day-to-day file management directly from the command line. Choose the service that matches your security, storage, and budget requirements, then follow the CLI setup steps to get started.

Be the first to leave a comment

Leave a Reply

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