简体   繁体   中英

Can you “cd” into an AWS S3 bucket and a run a powershell script there

Is it possible to cd into AWS S3 buckets in powershell, and run a script on that directory as if it were on your local machine?

I've set up the credentials, but can't seem to find any articles on navigating through buckets using powershell.

You can just download the bucket contents and run the script locally.

AWS CLI :

aws s3 sync s3://yourbucket C:\folder

AWS Powershell:

Copy-S3Object -BucketName yourbucket -KeyPrefix * -LocalFolder C:\folder

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM