Fica aqui um post (jogo rápido) de com acessar na linha de comando o serviço em nuvem da Amazon. Primeiramente instale o acdcli com o comento pip
# pip3 install --upgrade --pre acdcli Collecting acdcli Downloading acdcli-0.3.2-py3-none-any.whl (62kB) 100% |████████████████████████████████| 71kB 1.4MB/s Collecting python-dateutil (from acdcli) Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB) 100% |████████████████████████████████| 194kB 1.7MB/s Collecting colorama (from acdcli) Downloading colorama-0.3.7-py2.py3-none-any.whl Collecting requests!=2.9.0,>=2.1.0 (from acdcli) Downloading requests-2.12.1-py2.py3-none-any.whl (574kB) 100% |████████████████████████████████| 583kB 1.0MB/s Collecting fusepy (from acdcli) Downloading fusepy-2.0.4.tar.gz Collecting requests-toolbelt!=0.5.0 (from acdcli) Downloading requests_toolbelt-0.7.0-py2.py3-none-any.whl (52kB) 100% |████████████████████████████████| 61kB 1.5MB/s Collecting appdirs (from acdcli) Downloading appdirs-1.4.0-py2.py3-none-any.whl Collecting six>=1.5 (from python-dateutil->acdcli) Downloading six-1.10.0-py2.py3-none-any.whl Installing collected packages: six, python-dateutil, colorama, requests, fusepy, requests-toolbelt, appdirs, acdcli Found existing installation: requests 2.7.0 Uninstalling requests-2.7.0: Successfully uninstalled requests-2.7.0 Running setup.py install for fusepy ... done Successfully installed acdcli-0.3.2 appdirs-1.4.0 colorama-0.3.7 fusepy-2.0.4 python-dateutil-2.6.0 requests-2.12.1 requests-toolbelt-0.7.0 six-1.10.0
Após a instalação execute o comando para iniciar o cliente
$ acd_cli init For the one-time authentication a browser (tab) will be opened at https://tensile-runway-92512.appspot.com/. Please accept the request and save the plaintext response data into a file called "oauth_data" in the directory "/home/cabelo/.cache/acd_cli". Press a key to open a browser.
Pressione a tecla ENTER para o Browser abrir um link de autenticação. Após a digitação do login e senha, salve o arquivo oauth_data conforme a msg a seguir /home/cabelo/.cache/acd_cli/
Press a key if you have saved the "oauth_data" file into /home/cabelo/.cache/acd_cli $ acd_cli sync Getting changes...................... Inserting nodes.....................
Na ultima linha, comando acd_cli sync foi utilizado para sincronizar os dados. e Pronto!