Introduction
Peppermint OS is a lightweight, Debian-based distribution designed for speed and efficiency. For users who handle large amounts of data or require secure backups, integrating a cloud storage solution with a command-line interface (CLI) can streamline workflows, automate backups, and reduce dependence on graphical clients. This article explores the best cloud storage providers with robust CLI support on Peppermint OS, offers a comparison table, and provides step-by-step instructions for each service.
Top Recommended Cloud Storage Providers
- pCloud
- Mega
- Proton Drive
- Filen
- Tresorit
- Icedrive
- Dropbox (official CLI)
- Google Drive via rclone
- OneDrive via rclone
Comparison Table
| Service | Free Storage | Paid Plans | Encryption | CLI Tool | Link |
|---|---|---|---|---|---|
| pCloud | 10 GB | €4.99/mo | Client-side (Crypto add-on) | pcloudcc | Visit |
| Mega | 20 GB | €4.99/mo | End-to-end | megacmd | Visit |
| Proton Drive | 1 GB | €4.99/mo | End-to-end | rclone | Visit |
| Filen | 10 GB | 3.99/mo | End-to-end | rclone | Visit |
| Tresorit | 3 GB | 12.50/mo | End-to-end | t3rcli | Visit |
| Icedrive | 10 GB | 4.99/mo | Client-side | rclone | Visit |
| Dropbox | 2 GB | 9.99/mo | Server-side | dbxcli | Visit |
| Google Drive | 15 GB | 1.99/mo | Server-side | rclone | Visit |
| OneDrive | 5 GB | 1.99/mo | Server-side | rclone | Visit |
Which One to Choose?
- For privacy/security: Proton Drive, Tresorit, Filen.
- For generous free tier: Mega, Google Drive.
- For seamless CLI integration: pCloud (dedicated CLI), Mega (megacmd), Dropbox (dbxcli).
- For single-tool support across providers: rclone with Google Drive, OneDrive, Proton Drive, Filen, Icedrive.
Using Each Cloud Service with CLI on Peppermint OS
1. pCloud (pcloudcc)
- Install dependencies:
- Download and compile pcloudcc:
- Authenticate:
- Basic commands:
sudo apt update sudo apt install -y g cmake libcurl4-openssl-dev libssl-dev
git clone https://github.com/pcloudcom/console-client.git cd console-client mkdir build cd build cmake .. make sudo make install
pcloudcc -u your_email -p your_password
# List files pcloudcc -l # Upload file pcloudcc -u /path/to/local.txt /remote/folder/ # Download file pcloudcc -d /remote/file.txt /local/folder/
2. Mega (megacmd)
- Install megacmd:
- Login:
- Basic operations:
wget https://mega.nz/linux/repo/Ubuntu_(lsb_release -rs)/Release.key -O Release.key sudo apt-key add Release.key echo deb https://mega.nz/linux/repo/Ubuntu_(lsb_release -rs)/ ./ sudo tee /etc/apt/sources.list.d/mega.list sudo apt update sudo apt install -y megacmd
mega-login your_email your_password
# List mega-ls # Upload mega-put local.txt /MyDrive/backup/ # Download mega-get /MyDrive/photo.jpg ~/Pictures/
3. Proton Drive (via rclone)
- Install rclone:
- Configure Proton Drive:
- Commands:
curl https://rclone.org/install.sh sudo bash
rclone config # Choose new remote, name e.g. proton # Select Proton Drive from list # Follow on-screen OAuth steps
# List rclone ls proton: # Upload rclone copy ~/Documents/report.pdf proton:Reports # Download rclone copy proton:Photos/image.jpg ~/Pictures
4. Filen (via rclone)
- Ensure rclone is installed (see Proton Drive).
- Configure Filen remote:
- Usage:
rclone config # new remote filen # choose WebDAV # URL: https://webdav.filen.io # vendor: other # enter credentials
rclone ls filen: rclone copy ~/Videos/filen_video.mp4 filen:Backups rclone sync filen:Project folder/ ~/LocalProject
5. Tresorit (t3rcli)
- Download and install t3rcli:
- Login:
- Basic commands:
wget https://github.com/tresorit/t3rcli/releases/download/v1.0.0/t3rcli-linux-amd64 -O t3rcli chmod x t3rcli sudo mv t3rcli /usr/local/bin/
t3rcli login # opens browser for auth
t3rcli ls t3rcli upload /etc/hosts=Secure/hosts.backup t3rcli download Secure/notes.txt=~/notes.txt
6. Icedrive (via rclone)
- Install rclone (as above).
- Configure Icedrive:
- Commands:
rclone config # new remote icedrive # select WebDAV # URL: https://webdav.icedrive.net # vendor: other # credentials
rclone ls icedrive: rclone copy ~/Music icedrive:MusicBackup rclone mount icedrive: ~/mnt/icedrive --daemon
7. Dropbox (dbxcli)
- Install dbxcli:
- Authenticate:
- Usage:
GO111MODULE=on go get -u github.com/dropbox/dbxcli sudo mv ~/go/bin/dbxcli /usr/local/bin/
dbxcli account # follow OAuth instructions
dbxcli ls / dbxcli put report.pdf /Backups/ dbxcli get /Photos/holiday.jpg ~/Pictures/
8. Google Drive amp OneDrive (rclone)
- Install rclone.
- Configure each with
rclone config, selecting Google Drive or OneDrive. Follow OAuth instructions in your browser. - Sample commands:
# Google Drive rclone ls gdrive: rclone copy gdrive:Shared/project.zip ~/Downloads/ # OneDrive rclone ls onedrive: rclone sync ~/Work onedrive:WorkBackup
Typical Problems and Troubleshooting
- Authentication failures: Ensure system time is correct. Remove stale tokens (
~/.config/rclone,~/.pcloud, etc.) and re-run login steps. - Permission denied: Mount points require FUSE and user in
fusegroup. Installfuseand add user:sudo adduser USER fuse. - Rate limits: Some free tiers throttle CLI usage. Upgrade plan or space out automated jobs.
- SSL errors: Update CA certificates:
sudo apt install --reinstall ca-certificates. - Mount instability: Use
--daemon-timeoutor mount with--vfs-cache-mode fullfor rclone.
Conclusion
Choosing the right cloud storage with CLI support on Peppermint OS depends on your priorities—privacy, free storage, pricing, or ease of integration. pCloud and Mega stand out for dedicated CLI clients, while rclone offers unmatched flexibility across multiple providers. Tresorit and Proton Drive excel in end-to-end encryption for sensitive data. With these tools and troubleshooting tips, you can streamline backups, automate workflows, and maintain secure access to your files directly from the command line.
Be the first to leave a comment