Comments (2)
I've created this as a hack around this functionality at the moment.
AWS_REGION=eu-west-1 s5cmd ls s3://bucket-name/key/* | awk -v AWS_BUCKET="bucket-name" -v KEY="key" '{ printf "aws s3api put-object-acl --access-control-policy file://access_policy.json --bucket %s --key %s/%s\n", AWS_BUCKET, KEY, $5 }' | parallel -v -j 64
This will update the ACL's in parallel making use of the s5cmd ls
speed.
from s5cmd.
Hey!
Awesome work! This is super fast.
Thanks!
Can you add an option for --acl bucket-owner-full-control when using cp please?
Sorry for the late reply. S3 supports too many controls over the stored objects. Generally, we implement what we need and setting an ACL
was not one of them (yet).
We'll take a look if we need anything else if we implement ACL parameter family.
from s5cmd.
Related Issues (20)
- Feature request - Check if file exists without ls or downloading the entire object
- recursive du
- Can you please add ubuntu 20.04 installation instruction on documentation
- Publish to pypi HOT 2
- Support `--show-progress` for `s5cmd run`
- unexpected EOF when sync/cp files.
- Extended character support for s3 compatible backend
- Error: Files not found (u202f) HOT 5
- Download pre-signed URL?
- Download speed reduces with large files (> ~100GB) HOT 1
- endpoint_url support in configuration file
- Source error with sync delete all dest files HOT 2
- Common mutipart signature auth error can cause multipart uploads to fail HOT 1
- Dry-run indication (feature request)
- Question: Specify different endpoint for source and destination
- s5cmd ls --region argument, and implied lists respect the cp argument
- Facilitating Python Usage: Proposal for s5cmd Wheels HOT 2
- README.md incorrect example "you can compress the data before uploading" HOT 1
- Path globbing syntax is not documented HOT 2
- README.md internal link is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s5cmd.