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

The "ls" command does not honor trailing wildcard, while other commands such as "cp" do #1853

Open
bakoontz2 opened this issue Jul 20, 2022 · 1 comment

Comments

@bakoontz2
Copy link

Which version of the AzCopy was used?

10.15.0

Which platform are you using? (ex: Windows, Mac, Linux)

Linux

What command did you run?

azcopy ls [filepath/*] ==> returns error: RESPONSE Status: 400 The specifed resource name contains invalid characters.

azcopy cp [filepath/*] "." --recursive ==> handles wildcard just fine

What problem was encountered?

The "ls" command does not recognize a trailing wildcard, while other commands (such as "cp") do

How can we reproduce the problem in the simplest way?

Use any valid filepath with a trailing wildcard character. Try getting a file/dir listing and then do a copy.

Have you found a mitigation/solution?

No

@barry-lemon-kr
Copy link

I just assumed that this would work and just found out it doesn't. Would it make sense to also match the --include-* and --exclude-* options that are in the copy command, or would that be another feature request?

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

3 participants