'Is it possible to run aws s3 sync with boto3?

AWS CLI provides aws s3 sync command to sync data between 2 locations.

Is there an equivalent command in boto3?

I can't find this kind of command in boto3 documentation.



Solution 1:[1]

In a Dockerfile this doesn't work any different than it would on the CLI; except the RUN prefix:

RUN wget https://www.ioncube.com/beta/ioncube_loader-osx_arm-20.3.tar.gz

Then just unpack, install the files; restart php-fpm, when necessary.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Martin Zeitler