Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 17 lines 944 B view raw view rendered
1# digital ocean spaces notes 2# originally pulled from: https://711web.com/how-to-set-an-expiry-policy-on-digital-ocean-space-buckets-cloud-cvit/ 3 4# list files in a bucket 5`aws s3 ls s3://my-bucket --endpoint=https://endpoint.com` 6 7# get the current policy 8`aws s3api get-bucket-lifecycle-configuration --bucket my-bucket --endpoint https://endpoint.com` 9 10# apply policy from a policy.json file in the current directory 11`aws s3api put-bucket-lifecycle-configuration --bucket my-bucket --endpoint https://endpoint.com --lifecycle-configuration file://policy.json` 12 13# list wand files 14aws s3 ls s3://wand.aesthetic.computer --endpoint=https://sfo3.digitaloceanspaces.com 15 16# list wand files after a certain date 17`aws s3api list-objects-v2 --bucket "wand.aesthetic.computer" --prefix "record-prefix" --query "Contents[?LastModified>='2022-11-19'].{key: Key, date: LastModified}" --endpoint-url "https://sfo3.digitaloceanspaces.com"`