That is right. However AzCopy will prompt you asking whether you want to delete the files in the destination. You can say no to it, and it won't delete then. Has it not asked you the question ?
I could not see the option as it was still scanning unnecessary files on destination.Also we have this automated through job so not sure how would you have the option as No instead of yes as we are forcing all prompts to be suppressed.
For ex: I use below wherein this is a new folder on source so I would want this to be created in Destination and copy all files under that folder but the sync is comparing all the files in the container and not just that specific container. This used to work well with /xo
.azcopy sync "C:UserskdlqDesktopTestAzCopy" "https://
This ticket could be considered only for retaining as is /xo functionality. The real issue is it should not deleted all the files on destination. Also it should scan the right set of files when sync is done. Refer to the attachment for our folder structure wherein files could be overwritten for previous days and the updates needs to be synched on cloud.
@artemuwka please help clarify what is the desired behavior (with respect to the /xo).
My 2 cents: (What do others think ?)
Hi @seguler and @jiteshkumargouthamchand These suggestions have been implemented. Thanks!
Most helpful comment
My 2 cents: (What do others think ?)