Best Cloud Storage with CLI Support for Exherbo Linux
Exherbo Linux, as a source-based rolling distribution, emphasizes flexibility and customization. When selecting cloud storage solutions with a command-line interface (CLI), compatibility with the Exherbo toolchain (Paludis, Phaval, etc.), ease of compilation, and minimal external dependencies are key. Below is a professional, in-depth guide covering top candidates—pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—along with two additional options (Backblaze B2 and Amazon S3). You’ll find a comparison table, recommended choices, step-by-step CLI usage, and common troubleshooting tips.
Top Recommendations for Exherbo
- rclone (unified tool supporting most providers) – perfect for Exherbo’s source-based workflow.
- pCloud CLI – actively maintained, easy compilation, native encryption.
- MEGAcmd – official CLI with good performance, straightforward build.
Comparison Table
| Service | Link | CLI Tool | Install Method | Encryption | Pricing | rclone Support |
|---|---|---|---|---|---|---|
| pCloud | https://www.pcloud.com | pcloudcc | Compile from source | Client-side (optional) | Up to 2 TB paid | Yes |
| MEGA | https://mega.nz | megacmd | Build from GitHub | End-to-end | Up to 16 TB paid | Yes |
| Proton Drive | https://proton.me/drive | proton-drive-cli | Python package or compile Go client | End-to-end | Up to 10 TB paid | Yes (via WebDAV) |
| Filen | https://filen.io | filen-cli (unofficial) | Compile JS/TS or use rclone | End-to-end | 1 TB paid | Yes |
| Tresorit | https://tresorit.com | No official use rclone FUSE/WebDAV | rclone build | End-to-end | Teams plans | Yes |
| Icedrive | https://icedrive.net | icedrive-cli | Go binary or compile | Client-side | Up to 15 TB paid | Yes |
| Backblaze B2 | https://www.backblaze.com | b2 (official CLI), rclone | Go binary or rclone | n/a (server-side optional) | Pay-as-you-go | Yes |
| Amazon S3 | https://aws.amazon.com/s3/ | AWS CLI, rclone | Python package or rclone | n/a (server-side optional) | Pay-as-you-go | Yes |
Which One to Choose?
- If you want universal support for all services: use rclone.
- If you require end-to-end encryption by default: consider MEGA or Proton Drive.
- If you prefer a lightweight, static binary: Icedrive CLI or pCloud are excellent.
- For team collaboration with advanced permissions: Tresorit via rclone or Amazon S3.
- On a tight budget: Backblaze B2 (pay-as-you-go plus rclone).
How to Use Each One with CLI
1. rclone (All-in-one)
# Install rclone from source git clone https://github.com/rclone/rclone.git cd rclone make sudo make install # Configure a remote (e.g., pcloud) rclone config # Follow interactive prompts to add pcloud remote rclone ls pcloud:/
Typical issues: missing fuse support (--disable-fuse), stale config file in HOME/.config/rclone/rclone.conf.
2. pCloud CLI (pcloudcc)
# Clone and build git clone https://github.com/pcloudcom/console-client.git cd console-client mkdir build cd build cmake .. make # Copy the binary sudo cp pcloudcc /usr/local/bin/ # Authorize pcloudcc -u you@example.com -p YourPassword --auth # Upload a file pcloudcc -u you@example.com -p YourPassword put local.txt remote.txt # List files pcloudcc -u you@example.com -p YourPassword ls /
Typical issues: outdated CMake (cmake >= 3.10), missing libcurl-dev.
3. MEGA (MEGAcmd)
# Clone and build git clone https://github.com/meganz/MEGAcmd.git cd MEGAcmd ./configure make sudo make install # Login mega-login you@example.com YourPassword # Basic commands mega-ls / mega-put file.txt / mega-get /file.txt . mega-sync localdir /RemoteDir
Typical issues: need libuv, openssl ensure mega-login establishes session token before other commands.
4. Proton Drive CLI
# Using Python package pip install proton-drive-cli # Or compile Go client git clone https://github.com/maxence-charriere/go-proton-drive.git cd go-proton-drive go build sudo mv go-proton-drive /usr/local/bin/proton-drive # Authenticate proton-drive login # List files proton-drive ls # Upload proton-drive upload myfile.zip
Typical issues: Python 3.8 , missing grpcio or Go modules cache.
5. Filen CLI (Unofficial)
# Using rclone instead of native rclone config create filen filen rclone ls filen: # Or use community CLI npm install -g filen-cli filen login filen upload local.txt remote.txt
Typical issues: unofficial tooling may break prefer rclone integration for stability.
6. Tresorit via rclone
# rclone config rclone config # Choose WebDAV backend, URL=https://webdav.tresorit.com rclone ls tresorit: # Sync a folder rclone sync ~/Documents tresorit:MyDocs
Typical issues: two-factor auth, certificate verification – add --no-check-certificate if necessary.
7. Icedrive CLI
# Download Go binary wget https://github.com/IcedriveApp/Icedrive-cli/releases/download/v1.0.0/icedrive-linux-amd64 chmod x icedrive-linux-amd64 sudo mv icedrive-linux-amd64 /usr/local/bin/icedrive # Authenticate icedrive auth # Mount or upload icedrive ls / icedrive upload localfile.txt /remote.txt
Typical issues: FUSE mount requires fuse and libfuse-dev.
8. Backblaze B2 CLI
# Official B2 CLI pip install b2 # Authorize b2 authorize-account KEY_ID APP_KEY # List buckets b2 list-buckets # Upload a file b2 upload-file my-bucket local.txt remote.txt
Typical issues: network timeouts increase --max-download-speed or --retries.
9. Amazon S3 (AWS CLI)
# Install AWS CLI pip install awscli # Configure aws configure # List buckets aws s3 ls # Sync a folder aws s3 sync ~/Photos s3://my-bucket/Photos
Typical issues: missing Python SSL dependencies run pip install pyOpenSSL.
Common Problems Solutions
- Missing dependencies: ensure
libcurl,openssl,fuse,Go/Python toolchains are installed in Exherbo. - FUSE not supported: compile CLI with
--disable-fuseor use pure-CLI (no mount). - Authentication failures: verify credentials, two-factor settings re-authorize if token expires.
- Rate limits: use back-off flags (e.g.,
--bwlimitor--retries).
Conclusion
For most Exherbo users, rclone offers unbeatable flexibility across all providers. If you need official tooling with high security, MEGAcmd or Proton Drive CLI are excellent. For lightweight single-provider needs, pCloud CLI and Icedrive CLI stand out. Finally, for deep integration with enterprise clouds, consider the AWS CLI or Backblaze B2 CLI. Whichever path you choose, Exherbo’s source-based approach ensures you can compile and optimize your cloud CLI tools for the best performance and security.
Be the first to leave a comment