edgaras
04/30/2023, 1:33 PMaws s3api sync https://xxx.r2.cloudflarestorage.com/files /local/path --endpoint-url https://xxx.r2.cloudflarestorage.com
This doesn't seem to workedgaras
04/30/2023, 1:40 PMshell
# Template
aws s3 sync s3://<MY_BUCKET_NAME> /my_local/path --endpoint-url https://<ACCOUNT_ID>.r2.cloudflarestorage.com
# Example
aws s3 sync s3://<MY_BUCKET_NAME> ./ --endpoint-url https://0azdeb1dc4523dada6cd845c17dia629.r2.cloudflarestorage.com
oldmanmeta
04/30/2023, 3:24 PMoldmanmeta
04/30/2023, 3:24 PMchientrm
04/30/2023, 3:24 PMchientrm
04/30/2023, 3:25 PMoldmanmeta
04/30/2023, 3:25 PMoldmanmeta
04/30/2023, 3:30 PMawait getSignedUrl(S3, new GetObjectCommand({Bucket: 'my-bucket-name', Key: 'dog.png'}), { expiresIn: 3600 })
chientrm
04/30/2023, 3:32 PMoldmanmeta
04/30/2023, 3:36 PMchientrm
04/30/2023, 3:37 PMoldmanmeta
04/30/2023, 3:37 PMchientrm
04/30/2023, 3:37 PMoldmanmeta
04/30/2023, 3:38 PMoldmanmeta
04/30/2023, 3:38 PMoldmanmeta
04/30/2023, 3:44 PMchientrm
04/30/2023, 3:44 PMoldmanmeta
04/30/2023, 3:45 PMoldmanmeta
04/30/2023, 3:46 PMoldmanmeta
04/30/2023, 3:50 PMchientrm
04/30/2023, 3:50 PMchientrm
04/30/2023, 3:51 PMoldmanmeta
04/30/2023, 3:52 PMchientrm
04/30/2023, 3:52 PMhono
or itty-router
.oldmanmeta
04/30/2023, 3:53 PMoldmanmeta
04/30/2023, 3:53 PMoldmanmeta
04/30/2023, 4:20 PMHardAtWork
04/30/2023, 4:21 PMwrangler
can emulate a bucket in local dev, but if you want to access the files already in the bucket, you need to deployHardAtWork
04/30/2023, 4:21 PMoldmanmeta
04/30/2023, 4:21 PM