1 2 3 4 5 6 |
pip install awscli ##Add keys from digital ocean #https://cloud.digitalocean.com/account/api/spaces?i=1a9f5c aws configure |
1 2 3 4 5 6 7 |
aws s3 ls —endpoint=https://kenya.digitaloceanspaces.com #Note the endpoint #List a file in a subdirectory aws s3 ls logs/2022/12/nginx.gz —endpoint=https://kenya.digitaloceanspaces.com #copy file to local device aws s3 cp s3://logs/2022/12/nginx.gz ./ —endpoint=https://kenya.digitaloceanspaces.com |
Leave a Reply