Skip to content

Sync doesn't allow whitspaces in --cache-control #541

@7rulnik

Description

@7rulnik

I guess this is a problem with parsing and passing --cache-control option.

This example doesn't work:

s5cmd --dry-run sync --cache-control 'public, max-age=31536000, immutable' ./dist/selene-static/ s3://selene-static/selene-static-s5cmd/

But this one does:

s5cmd --dry-run sync --cache-control 'public,max-age=31536000,immutable' ./dist/selene-static/ s3://selene-static/selene-static-s5cmd/

And for cp command both variants work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions