Introduction
SharkLinux users looking for secure, reliable and scriptable cloud storage often seek a robust Command-Line Interface (CLI). A solid CLI allows automation, integration into shell scripts, and resource-efficient file management. This article reviews the top cloud storage services with native or community-supported CLIs, compares their features, offers guidance on selection, details installation and usage on SharkLinux, and highlights common issues and solutions.
Top Recommended Providers for SharkLinux
Comparison Table
| Service | Free Tier | CLI Tool | Encryption | Linux Compatibility | Link |
|---|---|---|---|---|---|
| pCloud | 10 GB | pcloudcc / pcloudcmd | Client-side (optional) | Native binary / Snap | pcloud.com |
| MEGA | 20 GB | megacmd | End-to-end | Deb/RPM/Arch | mega.nz |
| Proton Drive | 1 GB | proton-drive-cli (community) | End-to-end | Python-based | proton.me/drive |
| Filen | 10 GB | filen-cli (via pip) | End-to-end | Python-based | filen.io |
| Tresorit | 3 GB | rclone (or WebDAV) | End-to-end | Fuse/WebDAV | tresorit.com |
| Icedrive | 10 GB | icedrive-cli (official beta) | Client-side | AppImage / Snap | icedrive.net |
| Backblaze B2 | 10 GB | b2 command-line tool / rclone | Server-side | PIP / Brew | backblaze.com |
Which One Should You Choose?
- For maximum free storage: MEGA offers 20 GB free with generous referral bonuses.
- For privacy and encryption: Proton Drive, Tresorit and Filen provide strict zero-knowledge end-to-end encryption.
- For ease of CLI integration: pCloud and Backblaze B2 have mature, official command-line tools.
- For budget-conscious archiving: Backblaze B2’s pay-as-you-go pricing is hard to beat for large backups.
- For cross-platform automation: Use MEGA’s
megacmdor pCloud’spcloudcmdin scripts.
Setup CLI Usage on SharkLinux
pCloud
pCloud offers two CLI clients: pcloudcc (daemon) and pcloudcmd (interactive). Installation via Snap or Debian package:
sudo apt update sudo apt install snapd sudo snap install pcloud # or using .deb wget https://download.pcloud.com/pcloudcc/pcloudcc_x86_64.deb sudo dpkg -i pcloudcc_x86_64.deb
Authenticate and mount your drive:
pcloudcc --remote-name SharkCloud --install-service pcloudcc --login # To sync: pcloudcmd sync upload /home/user/documents /documents
Common issues: Incorrect permissions for FUSE mount—run sudo usermod -aG fuse USER and re-login.
MEGA (megacmd)
MEGA Command Line delivers mega-login, mega-put, mega-get:
sudo apt update sudo apt install gnupg2 dirmngr # add repository wget -qO - https://mega.nz/keys/MEGA_signing.key sudo apt-key add - sudo sh -c echo deb https://mega.nz/linux/repo/Ubuntu_(lsb_release -sr)_amd64/ ./ > /etc/apt/sources.list.d/mega.list sudo apt update sudo apt install megacmd
mega-login user@example.com P@ssw0rd mega-mkdir /Root/Backups mega-put ~/backup.tar.gz /Root/Backups/backup.tar.gz
Common issues: IPv6 DNS resolution may fail disable IPv6 or force IPv4 by prefixing mega-login --no-ssl-verify.
Proton Drive (community CLI)
Proton Drive lacks an official CLI you can use proton-drive-cli:
sudo apt update sudo apt install python3-pip pip3 install proton-drive-cli
proton-drive-cli login proton-drive-cli upload ./report.pdf /MyDrive/report.pdf proton-drive-cli download /MyDrive/photo.jpg ./photo.jpg
Common issues: 2FA login failures—use proton-drive-cli login --twofactor YOUR_CODE.
Filen
Filen provides a Python-based CLI:
sudo apt update sudo apt install python3-pip pip3 install filen-cli
filen auth login filen upload file.txt /MyFilen/ filen download /MyFilen/file.txt .
Common issues: API timeout on large files—use --chunk-size flag to adjust.
Tresorit (via rclone/WebDAV)
Tresorit’s CLI is not official, but you can mount via WebDAV or use rclone:
sudo apt update sudo apt install rclone davfs2 # Configure rclone rclone config # Create new remote tresorit -> vendor “webdav” -> url https://webdav.tresorit.com
rclone ls tresorit: rclone copy ~/files tresorit:BackupFolder # Or mount with davfs2 sudo mkdir /mnt/tresorit sudo mount -t davfs https://webdav.tresorit.com /mnt/tresorit
Common issues: SSL cert errors—install ca-certificates and add Tresorit’s root CA.
Icedrive
Icedrive provides an official CLI in beta as AppImage:
wget https://download.icedrive.net/linux/icedrive-cli.AppImage chmod x icedrive-cli.AppImage ./icedrive-cli.AppImage login
./icedrive-cli.AppImage upload docs/ /MyDrive/docs/ ./icedrive-cli.AppImage download /MyDrive/photo.png ./photo.png
Common issues: AppImage missing FUSE support—install fuse and run sudo modprobe fuse.
Backblaze B2
The official b2 CLI uses Python rclone also supports B2:
sudo apt update sudo apt install python3-pip pip3 install b2 b2 authorize-account yourAccountId yourApplicationKey
b2 create-bucket my-bucket allPrivate b2 upload-file my-bucket bigfile.iso bigfile.iso # Using rclone rclone config # choose b2, set account key rclone copy ~/video b2:my-bucket/videos
Common issues: “Timeout” on large uploads—adjust B2_MAX_UPLOAD_RETRIES env var or use multipart via rclone.
Common Problems Troubleshooting
- FUSE permissions: Always add your user to the
fusegroup (sudo usermod -aG fuse USER). - Missing dependencies: Many CLIs need
libssl-dev,curlorca-certificates. - 2FA and API quotas: Check provider documentation for token-based login or multi-factor flags.
- SSL/TLS errors: Install and update system certificates verify OpenSSL version.
- Rate limiting: Slow down concurrency or use exponential back-off flags (
--bwlimit,--transfersin rclone).
Conclusion
SharkLinux’s Debian foundation ensures compatibility with most Linux CLIs. Choose pCloud or MEGA for solid official tools, Proton Drive or Tresorit for supreme privacy, Filen or Icedrive for balanced features, and Backblaze B2 for cost-effective large-scale backups. Armed with this guide, you can automate your backups, synchronize folders, and integrate cloud storage into your daily Linux workflows via shell scripting and cron jobs.
Be the first to leave a comment