Introducción
En entornos ligeros como 4MLinux, disponer de herramientas de línea de comandos para gestionar almacenamiento en la nube aporta rapidez, ligereza y flexibilidad. En este artículo analizaremos los mejores servicios con soporte CLI en Linux, compararemos características clave y mostraremos cómo instalarlos, configurarlos y resolver problemas típicos.
Top recomendados para 4MLinux
- pCloud (pcloud.com)
- MEGA (mega.nz)
- Proton Drive (proton.me/drive)
- Filen (filen.io)
- Tresorit (tresorit.com)
- Icedrive (icedrive.net)
- Dropbox (dropbox.com)
- Google Drive (drive.google.com)
- Backblaze B2 (backblaze.com/b2)
Comparativa
| Servicio | Enlace | Gratis | Pago | CLI oficial | Encriptación | Open Source |
|---|---|---|---|---|---|---|
| pCloud | pcloud.com | 10 GB | 48 €/año (500 GB) | Sí | Opcional (cliente) | No |
| MEGA | mega.nz | 20 GB | 5,27 €/mes (400 GB) | Sí (MEGAcmd) | Cliente | No |
| Proton Drive | proton.me/drive | 1 GB | 4 €/mes (200 GB) | No oficial (rclone) | Extremo | No |
| Filen | filen.io | 10 GB | 4,99 €/mes (1 TB) | No oficial (rclone) | Extremo | No |
| Tresorit | tresorit.com | 3 GB | 10,42 €/mes (1 TB) | No oficial (rclone) | Extremo | No |
| Icedrive | icedrive.net | 10 GB | 1,67 €/mes (150 GB) | No oficial (rclone) | Opcional | No |
| Dropbox | dropbox.com | 2 GB | 9,99 €/mes (2 TB) | Sí | TLS | No |
| Google Drive | drive.google.com | 15 GB | 1,99 €/mes (100 GB) | No oficial (gdrive/rclone) | TLS | No |
| Backblaze B2 | b2.backblaze.com | Pago por uso | 0,005 /GB/mes | Sí | Servidor | No |
¿Cuál elegir?
- pCloud: recomendada por su CLI nativa y buen plan gratuito.
- MEGA: gran espacio inicial y encriptación en cliente, ideal para datos sensibles.
- Proton Drive y Filen: si priorizas privacidad real y cifrado extremo.
- Dropbox y Google Drive: estándar empresarial con ecosistema amplio.
- Backblaze B2: solución económica para backups y almacenamiento masivo.
Cómo usar cada servicio con CLI en 4MLinux
1. pCloud
pCloud ofrece pcloudcc y pcloud (CLI no oficial). En 4MLinux:
# Instalar pCloud CLI oficial wget https://downloads.pcloud.com/cli/pcloudcc-Linux_x86_64.tar.bz2 tar xjf pcloudcc-Linux_x86_64.tar.bz2 sudo mv pcloudcc /usr/local/bin/ # Autenticar pcloudcc -u tu_usuario -p tu_contraseña -l
Ejemplos de uso:
# Listar archivos pcloudcc list # Subir un archivo pcloudcc upload local.txt /pcloud/remote.txt # Descargar pcloudcc download /pcloud/remote.txt ./descargado.txt
Problemas típicos: timeout en autenticación. Solución: usar VPN o revisar cortafuegos.
2. MEGA (MEGAcmd)
# Instalar en 4MLinux wget https://mega.nz/linux/MEGAsync/xUbuntu_20.04/amd64/megacmd-xUbuntu_20.04_amd64.deb ar x megacmd-.deb data.tar.xz sudo tar -xJf data.tar.xz -C / # Autenticarse mega-login tu@correo.com TuPassword
# Navegar mega-ls / # Subir mega-put archivo.txt / # Descargar mega-get /archivo.txt .
Errores comunes: fallo en dependencias. Revisa librerías OpenSSL y libcurl.
3. Proton Drive (vía rclone)
No existe CLI oficial, pero rclone lo soporta:
# Instalar rclone curl https://rclone.org/install.sh sudo bash # Configurar rclone config # Añadir remoto: # n) new remote # name> proton # storage> protondrive # client_id y client_secret en blanco # user y pass: tu correo y contraseña # token: deja en blanco para autorizar vía navegador
# Listar rclone ls proton: # Subir rclone copy mi_carpeta proton:Backup # Descargar rclone copy proton:Backup/archivo.zip .
4. Filen (vía rclone)
# En rclone config, storage> filen # Introducir API key (desde panel de Filen)
rclone sync ./datos filen:MiCuenta/Datos
5. Tresorit (vía rclone)
# En rclone config, storage> tresorit # Necesitas Tresorit API token desde https://my.tresorit.com/account/api
rclone copy tresorit:MiTresor/archivo.pdf .
6. Icedrive (vía rclone)
# storage> icedrive # token: obténlo de la app web, sección API
rclone ls icedrive:
7. Dropbox (CLI oficial)
# Instalar sudo apt-get install python3-pip pip3 install dropbox # Generar token desde https://www.dropbox.com/developers/apps
dropbox —config-dir ~/.dropbox_uploader_uploader upload archivo.txt /
O usar dropbox-cli:
dropbox-cli start dropbox-cli status
8. Google Drive (gdrive o rclone)
# gdrive3 wget -O gdrive https://github.com/prasmussen/gdrive/releases/download/2.1.0/gdrive-linux-x64 chmod x gdrive sudo mv gdrive /usr/local/bin/ gdrive about
gdrive upload archivo.txt gdrive download
9. Backblaze B2 (CLI oficial)
# Instalar pip3 install b2 # Configurar b2 authorize-account
# Crear bucket b2 create-bucket mi-bucket allPublic # Subir b2 upload-file mi-bucket local.txt remoto.txt # Descargar b2 download-file-by-name mi-bucket remoto.txt local.txt
Problemas Típicos y Soluciones
- Autenticación fallida: revisa reloj del sistema y variables de proxy.
- Dependencias ausentes: instala librerías SSL y curl.
- Velocidades bajas: habilita compresión/transmisión paralela (rclone).
- Errores de permisión: ejecuta CLI con usuario correcto y permisos de lectura/escritura.
Con estas herramientas tu 4MLinux estará preparado para trabajar con cualquier plataforma en la nube usando únicamente la terminal, optimizando recursos y facilitando la automatización de respaldos y sincronizaciones.
Sé el primero en dejar un comentario