Introducción
En el ecosistema de BunsenLabs Linux, ligero y altamente configurable, contar con un cliente de línea de comandos (CLI) para gestionar tus archivos en la nube es esencial. A continuación exploraremos los mejores servicios de almacenamiento con soporte CLI, compararemos características, daremos recomendaciones sobre cuál elegir, mostraremos ejemplos de uso en Bash y señalaremos problemas típicos con sus soluciones.
Top recomendados para BunsenLabs Linux
- pCloud
- MEGA
- Proton Drive
- Filen
- Tresorit
- IceDrive
- Nextcloud (self-hosted)
- Dropbox
- Google Drive (via rclone)
Comparativa de servicios de almacenamiento en la nube con CLI
| Servicio | Enlace | Gratis | CLI Oficial / Soporte | Enlace CLI / rclone | Cifrado |
|---|---|---|---|---|---|
| pCloud | pcloud.com | 10 GB | Sí (pcloudcc) | github.com/pcloudcom/console-client | Opcional lado cliente |
| MEGA | mega.nz | 20 GB | Sí (MEGAcmd) | github.com/meganz/MEGAcmd | End-to-end |
| Proton Drive | proton.me/drive | 1 GB | Oficial (CLI en Go) | github.com/proton-mail/proton-drive-cli | End-to-end |
| Filen | filen.com | 10 GB | No oficial | rclone (WebDAV) | No |
| Tresorit | tresorit.com | 3 GB | No oficial | rclone | End-to-end |
| IceDrive | icedrive.net | 10 GB | Limitado (WebDAV) | rclone | End-to-end (Pro) |
| Nextcloud | nextcloud.com | Ilimitado (self-hosted) | Sí (nc-client) | github.com/nextcloud/desktop | Opcional lado servidor |
| Dropbox | dropbox.com | 2 GB | Sí (dropbox-cli) | dropbox.com/install-linux | No |
| Google Drive | drive.google.com | 15 GB | No oficial | rclone | No |
¿Cuál elegir?
La elección dependerá de tus prioridades:
- Seguridad máxima: MEGA, Proton Drive o Tresorit (cifrado end-to-end).
- Interfaz ultraligera y sincronización nativa: pCloud con
pcloudcc. - Self-hosted y control total: Nextcloud.
- Integración genérica (varios servicios con un solo CLI): rclone para Google Drive, Filen, IceDrive, Tresorit, etc.
Cómo usar cada servicio con CLI
pCloud
Instalación y autenticación:
sudo apt update sudo apt install git build-essential libssl-dev libcurl4-openssl-dev git clone https://github.com/pcloudcom/console-client.git cd console-client ./bootstrap.sh make sudo make install # Autenticarse pcloudcc --login your_email@example.com
Subir un archivo:
pcloudcc --upload /home/user/documento.pdf /
MEGA (MEGAcmd)
# Añadir el repositorio oficial sudo apt-get install gnupg wget -qO - https://mega.nz/keys/MEGA_signing.key sudo apt-key add - echo deb https://mega.nz/linux/repo/ubuntu/ (lsb_release -cs) main sudo tee /etc/apt/sources.list.d/mega.list sudo apt update sudo apt install megacmd # Login mega-login user@example.com YourPassword # Subir mega-put /ruta/local/archivo.txt /Root
Proton Drive
# Descargar binarios o compilar curl -LO https://github.com/proton-mail/proton-drive-cli/releases/latest/download/proton-drive-linux-x86_64.AppImage chmod x proton-drive-linux-x86_64.AppImage ./proton-drive-linux-x86_64.AppImage login # Subir carpeta ./proton-drive-linux-x86_64.AppImage upload ./Fotos/ /ProtonDrive/Fotos
Filen (vía rclone WebDAV)
sudo apt install rclone rclone config # Nuevo remote: # name> filen # tipo> webdav # url> https://webdav.filen.com # vendor> other # user/pass> tus credenciales # test: rclone ls filen: # Subir: rclone copy /home/user/doc ~/filen:/Backup
Tresorit (vía rclone)
# Similar configuración rclone: rclone config # name> tresorit # tipo> tresorit # follow wizard... # Subir: rclone sync ~/Proyectos tresorit:Proyectos
IceDrive (vía rclone WebDAV)
rclone config # name> icedrive # tipo> webdav # url> https://api.icedrive.net/ # vendor> other # user/pass> token y password # Subir: rclone copy ~/Docs icedrive:Documentos
Nextcloud
sudo apt install nextcloud-desktop nextcloud --help # Para cuentas multiple: nextcloud --logwindow
Dropbox
sudo apt install python3-gpg wget -O dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py chmod x dropbox.py ./dropbox.py start -i ./dropbox.py status
Google Drive (rclone)
rclone config # name> gdrive # tipo> drive # seguir wizard # Subir: rclone copy ~/Videos gdrive:VideosCompartidos
Problemas típicos y soluciones
- Fallo en autenticación 2FA: Generar token de aplicación (MEGA, Proton).
- Permisos WebDAV: Verificar URL y vendor en rclone para Filen/IceDrive.
- Montado lento: Aumentar parámetros de concurrencia en rclone (
--transfers,--checkers). - Dependencias faltantes: Instalar librerías de SSL, cURL y libfuse.
- Pérdida de conexión: Usar opciones de reintento en rclone:
--retries 5 --low-level-retries 10.
Con estas herramientas y configuraciones, tu BunsenLabs Linux podrá sacarle el máximo partido a los servicios en la nube mediante la línea de comandos, manteniendo ligereza, seguridad y eficiencia.
Sé el primero en dejar un comentario