Closed kevink008 closed 1 year ago
Hi @kevink008, Filter "Override Mimetype" fits in your use scenario. You can either add the filter via UI or CLI.
Override Mimetype (override-mimetype)
This plugin allows you to override the default mimetype of objects getting
transferred. It is useful for instances where the mimetype of an object
cannot be inferred from its extension or is nonstandard (not in Java's
mime.types file). You can also use the force option to override the
mimetype of all objects
--force-mimetype If specified, the mimetype will be
overwritten regardless of its prior value
--override-mimetype <mimetype> Specifies the mimetype to use when an
object has no default mimetype
Thanks, Eric
Hi @xiaoxin-ren,
Thanks.
I have just built a new VM with ecs-sync 3.5.2 by following the wiki.
I am stumped on how to add the Override Mimetype filter via UI.
How do I do that?
Cheers, Kevin
@xiaoxin-ren , I just found the "add-filter" link in UI. Duh!
Hi,
I am using ecs-sync to copy objects between two S3 buckets on the same ECS VDC.
Is it possible to change the mime-type during the copy?
I would like to change MIME type from "application/octet-stream" to "application/pdf".
Thanks in advance.
Kevin