--exclude folders or folder/* to mirror unexpect files
Actual behavior
--exclude option can only support the object name . can not support folders
Steps to reproduce the behavior
mc --version
(paste output of mc --version)
~
[minio@minio-0 /]$ mc --version
mc version RELEASE.2023-10-12T07-08-21Z (commit-id=5d7d6f70aeb710a2345d58e61cb2e809bf48d58f)
Runtime: go1.19.6 linux/amd64
Copyright (c) 2015-2023 MinIO, Inc.
License GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html
[minio@minio-0 /]$
~
mc mirror --exclude value exclude object(s) that match specified object name pattern
https://github.com/minio/mc/issues/2343
check this , not working..
Expected behavior
--exclude folders or folder/* to mirror unexpect files
Actual behavior
--exclude option can only support the object name . can not support folders
Steps to reproduce the behavior
mc --version
mc --version
) ~ [minio@minio-0 /]$ mc --version mc version RELEASE.2023-10-12T07-08-21Z (commit-id=5d7d6f70aeb710a2345d58e61cb2e809bf48d58f) Runtime: go1.19.6 linux/amd64 Copyright (c) 2015-2023 MinIO, Inc. License GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html [minio@minio-0 /]$ ~System information