Skip to content

Instantly share code, notes, and snippets.

@TheSirop
Last active March 6, 2022 17:54
Show Gist options
  • Select an option

  • Save TheSirop/5a3320008ebbebf969892d82d16910ba to your computer and use it in GitHub Desktop.

Select an option

Save TheSirop/5a3320008ebbebf969892d82d16910ba to your computer and use it in GitHub Desktop.
Копирование всех файлов с сохранением структуры с Amazon S3
# Устанавливаем 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