$ mc ilm expiry show myminio/bucket
Expiry rules:
ID Prefixes Enabled Days/Date
fgh "" ✓ 10 May 2019
gop "temporary_uploads/" ✓ 7 days
This file contains hidden or 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 | |
_nr_nodes=4 | |
# Run minio docker instances in background and name them minio1, minio2, .. | |
for i in $(seq 1 $_nr_nodes); do | |
docker run -d --name=minio$i -it -v /home/vadmeste/:/root minio/distributed | |
done | |
# Check allocated ip addresses to minio instances |
This file contains hidden or 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 | |
usage() { | |
echo "USAGE: ./$0 NR_PARALLEL_MINIOS BACKEND_PATH" | |
exit -1 | |
} | |
[[ -z "$1" ]] && usage || nr_parallel="$1" | |
[[ -z "$2" ]] && usage || backend_path="$2" |
This file contains hidden or 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 | |
decode() { | |
printf "%s-decoded-pwd" $(echo $2 | cut -c1-4) | |
} | |
main() { | |
read -p "Password: " passwd | |
while read ln; do | |
_cur_access_key=$(echo $ln | sed "s#.*accessKey:\([^,]*\),.*#\1#g" | tr -d ' ') |