Skip to content
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

Azcopy list on specific folder only #583

Closed
nofunatall opened this issue Sep 8, 2019 · 7 comments
Closed

Azcopy list on specific folder only #583

nofunatall opened this issue Sep 8, 2019 · 7 comments

Comments

@nofunatall
Copy link

nofunatall commented Sep 8, 2019

azcopy version 10.2.1

Is there no way using v10 azcopy to list blobs that are only in a specific folder?

Currently if I include a folder in the URL when doing azcopy list the folder is ignored and azcopy begins to list EVERY blob in the entire container. e.g:
azcopy list https://${ACCOUNT}.blob.core.windows.net/${CONTAINER}/${FOLDER}/${SAS}

If it is currently not possible to list only within a certain folder then I would like to make a feature request.

@JohnRusk
Copy link
Member

JohnRusk commented Sep 8, 2019

Looks like it only supports the whole container, at present. I've tagged this issue with the feature-request tag.

@rakelkar
Copy link

rakelkar commented Oct 9, 2019

+1 to this feature request

@nofunatall
Copy link
Author

Question:
Seems copy commands work with using specific virtual folder prefixes but list does not.

Is that correct?

@JohnRusk
Copy link
Member

I believe that is correct. @adreed-msft , when we update the list logic to use the new enumeration code (same code as the copy), what do you think about making it support the same features as enumeration does: e.g. use virtual folders in the URL (and maybe support include-pattern and include-path)

@JohnRusk
Copy link
Member

@adreed-msft Do you know if this was fixed in 10.3.x?

@JohnRusk
Copy link
Member

If NOT fixed, then it will also affect #583 (since the case there is trying to list subdirectory)

@zezha-msft
Copy link
Contributor

This has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants