![]() Checks relative path prefix(For example: myFolder myFolder/subDirName/file.pdf). This option does not support wildcard characters (*). exclude-path string Exclude these paths when comparing the source against the destination. exclude-attributes string (Windows only) Exclude files whose attributes match the attribute list. If set to prompt, the user will be asked a question before scheduling files and blobs for deletion. delete-destination string Defines whether to delete extra files from the destination that are not present at the source. Available values include: NoCheck, LogOnly, FailIfDifferent, FailIfDifferentOrMissing. This option is only available when downloading. check-md5 string Specifies how strictly MD5 hashes should be validated when downloading. Decimal fractions are allowed (For example: 0.25). Default is automatically calculated based on file size. block-size-mb float Use this block size (specified in MiB) when uploading to Azure Storage or downloading from Azure Storage. One day I learn to code sufficiently to help implement this. But I just checked 10.8.0 and i don't see anything in the flaglist that would delete files that are newer in the destination using sync. Hope that I imagine can probably confirm. overwrite overwrite the conflicting files/blobs at the destination if this flag is set to true. It doesn't state that the DMT is ignored for newer and older files. But is not clear in the documentation on the flag, see below. ![]() which is slower, creates two separate logs and jobs, which i think overwrites the updated files from testing. However, without the -check-lmt=false all the updated files would still remain updated bythe previous students.Ī second azcopy run would have to be passed on the filesĪzcopy copy -recursive=true -overwrite=true. If the lecturers had made any edits to the source blob this would also be reflected in the destination content This check could also be done on login of as well. ![]() this makes it ready for the next student to login. When user logs out the content is azcopy sync -recursive=true -delete-destination=true -check-lmt=false. At the end of the course these students no longer use these computers, but the content needs to be reset to the original source content. During the course of a class this content is tampered with to demonstrate various concepts in the class. When users first login the content is synced from the blob to local. The content is stored on an azure blob and is constantly been revised and updated by various lecturers to improve it. which might not be your desired outcome.Ī university runs a class that requires content to be delivered to the local drive of the end-user for a particular class. ![]() However if files get updated at the destination, but not the source they will continue to remain changed on the destination. Its also easy to replace deleted files with azcopy sync. or even deletedĬurrently its possible to removed the files that have been created in the destination, that don't exist in the source with -delete-destination=true. The static version is easy to handle as you can be sure it is the same from when you last synced it, but a dynamic container has the possibility of files been updated or created. dynamic destination container that has the possibility of changing.A static destination that doesn't change and a.Hey there are two types of destination containers.
0 Comments
Leave a Reply. |