Last active
March 6, 2022 17:54
-
-
Save TheSirop/5a3320008ebbebf969892d82d16910ba to your computer and use it in GitHub Desktop.
Копирование всех файлов с сохранением структуры с Amazon S3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Устанавливаем AWS CLI: | |
| $ sudo apt install awscli | |
| # Проверяем устанвку AWS CLI: | |
| $ aws help | |
| # Конфигурируем: | |
| $ aws configure | |
| > AWS Access Key ID [None]: | |
| > AWS Secret Access Key [None]: | |
| > Default region name [None]: eu-central-1 | |
| > Default output format [None]: json | |
| # Копируем файл к себе в директорию: | |
| $ aws s3 sync s3://s3.projects.ru/ /home/username/AWS/s3.projects.ru |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment