Skip to content

Can awscli-sync ignore deleted files at the destination #7727

Discussion options

You must be logged in to vote

If the current version of an object is a delete marker when you make a request, then the header x-amz-delete-marker: true is included in the response. You could try including / excluding files to upload using that header to determine if a file was deleted. Here is some relevant documentation that might be helpful.

I wasn't able to find any reference to custom sync strategies. Could you elaborate more on that?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PackiarajSakkananGW
Comment options

@RyanFitzSimmonsAK
Comment options

Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants