Skip to content

Feature request - Check if file exists without ls or downloading the entire object #682

Description

@yitzhaklevi

Is it possible to check if object exists without downloading it entirely or applying ls (which requires ListObjects)
It can be implemented using - https://github.com/peak/s5cmd/blob/master/storage/s3.go#L118
Usage can be by having another op or simply --metadata_only flag for cp

Thanks !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions