Created
January 1, 2024 10:04
-
-
Save inceabdullah/4f872f75ccf0b4f3daeebd7f9a180cdd to your computer and use it in GitHub Desktop.
MinIO Migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SOURCE_MINIO=myminio | |
DESTINATION_MINIO=minio-cluster | |
BUCKET=bucket | |
mc ls $SOURCE_MINIO/$BUCKET |rargs -p '.*STANDARD (.*)$' mc cp $SOURCE_MINIO/$BUCKET/{1} $DESTINATION_MINIO/$BUCKET/{1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment