-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support az storage blob [upload-batch | sync] --follow-symlinks option #1303
Comments
Hi @Juliehzl , could you please help take a look at this ? |
add to S166. |
Hi @djc In fact, only the bottom of command |
I can't easily test this now. In any case I don't just want to upload, I want to fully sync such that old files get removed. |
@djc Hi, the sync operation of |
I really think the |
@zezha-msft do you have any plan to add |
Hi @djc, we haven't added support for symlinks in the sync command due to the lack of understanding on its intended usage. It's great that you have reached out and provided insights. I will log this feature request in the AzCopy backlog. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. |
Any updates on this one ? This is affecting us and it should be something relatively easy to fix. Happy to contribute as well. |
it seems this was fixed here: Azure/azure-cli#13589 |
@zezha-msft maybe we can close this ? |
Looks like |
Is your feature request related to a problem? Please describe.
I'm trying to update my static website from a continuous deployment process to the static website storage on Azure. The static files (CSS, images etc) live in the top of the repository, above the rest of the website contents, because they're shared with my actual project. I'd like to have a
static
symlink in thesite
directory linking to../static
dir, and for the Azure CLI to upload the files from the static dir (symlink) if I do so.Funnily enough, the underlying
azcopy
command outputs a warning if I try to upload/sync my symlink, sayingINFO: Skipping over symlink at /var/lib/gitlab-runner/builds/DsF6D-si/0/foo/bar/site/static because --follow-symlinks is false
. However, the Azure CLI itself does not actually recognize--follow-symlinks
, and will thus error out withERROR: az: error: unrecognized arguments: --follow-symlinks
.Describe the solution you'd like
It would be great if Azure CLI recognized
--follow-symlinks
and propagated it to the underlyingazcopy
invocation.The text was updated successfully, but these errors were encountered: