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

TopLinux

Best Cloud Storage with CLI for DuZeru

DuZeru users seeking seamless command-line integration for backups, synchronization and file sharing have a wealth of cloud storage options. This article examines top providers—pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—plus additional solutions (Dropbox, Google Drive via rclone, AWS S3) and guides you through choosing the ideal service, installing and using each CLI client, and resolving common pitfalls.

Top Recommended Services

Comparison Table

Service CLI Tool Free Tier Encryption Platform Support Link
pCloud pcloudcc / pcloudcmd 10 GB Optional client-side Linux, Windows, macOS pCloud CLI
MEGA megacmd 20 GB End-to-end Linux, Win, macOS megacmd
Proton Drive proton-drive-cli 1 GB End-to-end Linux, Win, macOS proton-drive-cli
Filen filen-cli 5 GB End-to-end Linux, Win, macOS filen-cli
Tresorit t3cmd 3 GB End-to-end Linux, Win, macOS t3cmd
Icedrive icedrive-cli 10 GB Optional client-side Linux, Win, macOS icedrive-cli
Dropbox dropbox-cli 2 GB At-rest in-transit Linux, Win, macOS Dropbox CLI
Google Drive rclone 15 GB At-rest in-transit Linux, Win, macOS rclone drive
AWS S3 AWS CLI 5 GB (shared) At-rest in-transit Linux, Win, macOS AWS CLI

Which One to Choose?

Your choice depends on:

  • Security: Fully end-to-end encrypted solutions like Tresorit, MEGA, Filen, Proton Drive.
  • Free storage: MEGA (20 GB), rclone/Google Drive (15 GB), pCloud (10 GB).
  • Budget: Many offer lifetime plans (pCloud, Icedrive).
  • Integration: AWS S3/Azure/Google for infrastructure simple CLI clients for personal use.
  • CLI Features: Check for sync, mount, backup scripts.

How to Use Each with CLI

pCloud

Install and configure pcloudcc:

# On DuZeru (Debian/Ubuntu-based):
sudo apt update
sudo apt install pcloudcc

# Authenticate
pcloudcc --username you@example.com --password YourPassword

# Mount your pCloud drive
pcloudcc --mountpoint ~/pcloud

Common issues: mount permissions (use fusermount -u to unmount) check FUSE version.

MEGA

Install megacmd and login:

sudo apt install megacmd
# or from source: git clone https://github.com/meganz/MEGAcmd.git

# Login
mega-login you@example.com YourPassword

# Upload folder
mega-put ~/Documents /Root/Documents

Troubleshoot: if 2FA is enabled, use mega-import-owt for one-time tokens.

Proton Drive

Use the community CLI:

# Install from pip
pip3 install proton-drive-cli

# Authenticate
proton-drive login

# Sync a directory
proton-drive sync ~/Work /Drive/Work

Problems: may need to update cryptography library check Python version (>=3.8).

Filen

Filen’s CLI:

# Download binary  make executable
wget https://github.com/filen-dev/filen-cli/releases/latest/download/filen-cli-linux
chmod  x filen-cli-linux
sudo mv filen-cli-linux /usr/local/bin/filen

# Login
filen auth login

# Upload file
filen upload ~/data.zip

If you hit “connection reset,” verify your network/firewall or use --no-verify-ssl cautiously.

Tresorit

Install t3cmd:

# Debian/Ubuntu
wget https://github.com/Tresorit/t3cmd/releases/latest/download/t3cmd-linux-x64
chmod  x t3cmd-linux-x64
sudo mv t3cmd-linux-x64 /usr/local/bin/t3cmd

# Authenticate
t3cmd login

# List folders
t3cmd ls

# Download
t3cmd get /Secure/Report.pdf ~/Report.pdf

Common: ensure you have OpenSSL >=1.1 update if “unsupported protocol” appears.

Icedrive

Setup icedrive-cli:

# Download AppImage or binary
wget https://github.com/Icedrive/icedrive-cli/releases/latest/download/icedrive-cli-linux
chmod  x icedrive-cli-linux
sudo mv icedrive-cli-linux /usr/local/bin/icedrive

# Login
icedrive auth login

# Sync local to remote
icedrive sync ~/Photos /PhotosBackup

Issue: if mount fails, install FUSE (sudo apt install fuse).

Dropbox

Official Linux CLI:

# Install via Debian repo
sudo apt install nautilus-dropbox

# First run launches GUI auth, then:
dropbox status

# Command examples
dropbox start
dropbox stop

Note: headless setups require dropbox.py from the Dropbox website.

Google Drive (rclone)

Configure rclone for Drive:

sudo apt install rclone
rclone config

# Create “drive” remote via prompts, choose OAuth

# List files
rclone ls drive:

# Copy folder
rclone copy ~/Docs drive:BackupDocs

Fix “auth failed” by providing valid OAuth credentials or using the --drive-server-side-across-configs flag.

AWS S3

Use AWS CLI:

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

# Upload
aws s3 cp ~/file.txt s3://mybucket/file.txt

# Sync local→remote
aws s3 sync ~/site s3://mybucket/site

Common errors: “Access Denied”—check IAM policies and bucket ACLs “Signature mismatch”—verify system clock.

Conclusion

DuZeru combines rock-solid Linux foundations with powerful CLI tools. For maximum encryption choose Tresorit, MEGA, Proton Drive or Filen. For generous free storage and lifetime deals, consider pCloud and Icedrive. When infrastructure or scripting flexibility is key, leverage AWS S3 or rclone for Google Drive. Evaluate your requirements, follow installation steps above, and resolve the typical issues to make your command-line backups and sync tasks effortless.

Be the first to leave a comment

Leave a Reply

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