Configurando o Rclone no CentOS 7
A maioria dos serviços de armazenamento online (Cloud) não fornecem softwares clientes para a plataforma Linux. O Rclone é um software que veio para resolver esta deficiência. Ele é compatível com a maioria dos serviços online de armazenamento. Neste tutorial, veja como implementar esta ferramenta em ambientes Linux.
[ Hits: 25.754 ]
Por: Ricardo Pardim Claus em 12/10/2016
No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q>Digite um nome para identificar o cloud. Para o Google Drive, eu utilizei o nome: godrive
Type of storage to configure. Choose a number from below, or type in your own value 1 / Amazon Drive \ "amazon cloud drive" 2 / Amazon S3 (also Dreamhost, Ceph, Minio) \ "s3" 3 / Backblaze B2 \ "b2" 4 / Dropbox \ "dropbox" 5 / Encrypt/Decrypt a remote \ "crypt" 6 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 7 / Google Drive \ "drive" 8 / Hubic \ "hubic" 9 / Local Disk \ "local" 10 / Microsoft OneDrive \ "onedrive" 11 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 12 / Yandex Disk \ "yandex" Storage> 7Nos campos client_id e client_secret, deixe ambos em branco, apenas pressione enter.
Google Application Client Id - leave blank normally. client_id> Google Application Client Secret - leave blank normally. client_secret>Em remote config, digite "n" para que seja apresentado o link para gerar o código de ativação do serviço Google Drive:
Remote config Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine or Y didn't work y) Yes n) No y/n> n If your browser doesn't open automatically go to the following link:https://accounts.google.com/o/oauth2/auth?client_id=82022656774.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=78067440a23778561980580f5751 Log in and authorize rclone for access Enter verification code>Clique no link acima ou copie e cole no navegador. Será aberto uma página do Google, informando que o Rclone gostaria de "Ver e gerenciar os arquivos no seu Google Drive".
[godrive] client_id = client_secret = token = {"access_token":"748A3dthb6ewte9Dp74yT-wqstlcn7Nwrervg6iTV1W8dv2Esxj6RMSYP_A","token_type":"Bearer","refresh_token":"1/AhlriophV7H2JFNxQGAEYOcqUuOqCaHS7hsFY","expiry":"2016-09-26T15:42:20.65418263-03:00"} -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> yO repositório foi criado. Para finalizar, na tela abaixo, pressione q (Quit config).
Current remotes: Name Type ==== ==== godrive drive e) Edit existing remote n) New remote d) Delete remote s) Set configuration password q) Quit config e/n/d/s/q> q
Squid - Bloqueando definitivamente o MSN Messenger e Orkut
Balanceamento de links - Load balance + Failover + Failback
Zoneminder: Substituindo um Unifi NVR
WebHTB - Controle de banda de internet
Criando e Consumindo Rede de Compartilhamento NFS
Interface de Rede Virtual no Debian
Atualizando o Passado: Linux no Lenovo G460 em 2025
aaPanel - Um Painel de Hospedagem Gratuito e Poderoso
O macete do Warsaw no Linux Mint e cia
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Será que eu deveria apreender C/C++ para desenvolver para Linux? (3)
O 1º artigo a gente nunca esquece (3)
Pastas da raiz foram para a área de trabalho [RESOLVIDO] (9)