Is there a way to sync files that are saved either locally or in GitLab to the Microsoft File Shares storage? So I want it to be unidirectional local -> File Shares storage.
I did not find anything yet. I know there is a way to do it when using a Blob storage, via the azcopy sync
command.
A way to do it is to delete all files first and then use the az storage file upload-batch
command but this is way too cumbersome and ugly.
I even checked the rclone
cli but this is also not possible for the Microsoft File Shares storage.
Am I missing something? This is ridiculous...
I finally found the answer:
Syntax
Example from Documentation: