peak/s5cmd

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

Opened this issue · 0 comments

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 !