dorlenko
By:
dorlenko

Problem with add expire days for bucket from s3cmd

October 9, 2017 96 views
Block Storage

Hello!
I try add expire days from file and bucket but have this problem:

sudo s3cmd expire s3://<my-bucket>/ --expiry-days=3 expiry-prefix=backup

ERROR: Error parsing xml: syntax error: line 1, column 0
ERROR: not found
ERROR: S3 error: 404 (Not Found)

and this

sudo s3cmd expire s3://<my-bucket>/<folder>/<file> --expiry-day=3

ERROR: Parameter problem: Expecting S3 URI with just the bucket name set instead of 's3://<my-bucket>/<folder>/<file>'

How add expire days in DO Spaces for folder or file from s3cmd?

Be the first one to answer this question.