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 remove https://server/area/file_that_does_not_exist does not fail #1975

Closed
marc-hb opened this issue Nov 24, 2022 · 3 comments
Closed
Assignees
Milestone

Comments

@marc-hb
Copy link

marc-hb commented Nov 24, 2022

Which version of the AzCopy was used?

10.16.2

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

Linux

What command did you run?

azcopy remove https://server/area/file_that_does_not_exist

What problem was encountered?

The command does not fail; it pretends everything was fine.

No ERROR or WARNING in $HOME/.azcopy, nothing on stdout either and a successful, zero exit code. Happy as a clam!

How can we reproduce the problem in the simplest way?

Try to azcopy remove a file that does not exist.

Have you found a mitigation/solution?

No

@tasherif-msft tasherif-msft self-assigned this Nov 28, 2022
@tasherif-msft
Copy link
Contributor

Hi @marc-hb this is a duplicate issue to #1931, we are currently working on it. I will close this issue in the meantime.

@marc-hb
Copy link
Author

marc-hb commented Nov 28, 2022

Thanks @tasherif-msft, it's not obvious that it is a duplicate because #1931 is about downloading and this one is about deleting. Are you saying these two features share the same, relevant code?

@tasherif-msft
Copy link
Contributor

Hi @marc-hb it falls within the same category (don't throw if a targeted file does not exist)

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

No branches or pull requests

3 participants