-
Notifications
You must be signed in to change notification settings - Fork 553
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
Add support for glob patterns and/or prefixes to "mc" #2117
Comments
Per discussions with AB there are multiple topics that are related to ...
I would like to tie this together into a more comprehensive proposal... Thx |
This is not blocked anymore currently being addressed in #2201 |
Removed |
Closing it since it is a duplicate of #2201 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected behaviour
I would like
mc rm server/bucket/prefix-*
to remove all files starting with
prefix-
from the bucket.Other glob patterns should also work.
Alternatively, a simpler form might be to just add a "prefix" option, as in:
mc rm --prefix server/bucket/prefix-
Actual behaviour
mc: Failed to remove ‘server/bucket/prefix-*’. Object key is missing, object key cannot be empty
Steps to reproduce the behaviour
run
mc rm server/bucket/prefix-*
mc version
Version: DEVELOPMENT.GOGET
Release-tag: DEVELOPMENT.GOGET
Commit-id: DEVELOPMENT.GOGET
System information
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
The text was updated successfully, but these errors were encountered: