...
Code Block | ||
---|---|---|
| ||
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 sync /home/user/downloads/ s3://mybucket/mydownloads/ --delete |
generate a presigned URL to share an object for a limited time (the command will return a link that can be shared):
Code Block | ||
---|---|---|
| ||
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 presign s3://mybucket/mydownloads/myobject --expires-in 3600 |
More examples can be found here:
...