...
No Format |
---|
s3cmd ls s3://yourbucket |
...
Get data from bucket
No Format |
---|
s3cmd expiry --expiry-days=14get s3://yourbucketnewbucket/ |
...
Put data into bucket
No Format |
---|
s3cmd put infofile.txt s3://newbucket/ |
...
Remove data from bucket
No Format |
---|
s3cmd getrm s3://newbucket/file.txt |
...
Configure automatic expiry of data
No Format |
---|
s3cmd expiry --expiry-days=14 s3://yourbucket/ |
Information about a bucket
No Format |
---|
s3cmd put file.txt info s3://newbucket |
Remove automatic expiry policy
No Format |
---|
s3cmd dellifecycle s3://newbucketyourbucket/ |
Mounting your bucket with S3FS via FUSE
You may also mount your bucket to expose the files in your S3 bucket as if they were on a local disk. Generally S3 cannot offer the same performance or semantics as a local file system, but it can be useful for legacy applications that mainly need to read data and expect the files to be in a conventional file system.
...