minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.86k stars 548 forks source link

feat: add action for mc undo recursive #4822

Closed jiuker closed 9 months ago

jiuker commented 9 months ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

mc undo --recursive minio/mytest/bin —force —action DELETE Support the top version is DELETE will do that or do nothing. mc undo --recursive minio/mytest/bin —force —action PUT Support the top version is PUT will do that or do nothing.

Motivation and Context

How to test this PR?

Types of changes

Checklist:

jiuker commented 9 months ago

Can you please explain the use case why we need this in PR description?

The issue https://github.com/minio/mc/issues/4693 need this feature.