mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2025-01-19 00:03:44 +01:00
Use mc command
This commit is contained in:
parent
7e0e6088f4
commit
bdfc602538
4
shell/check_repl_status
Normal file → Executable file
4
shell/check_repl_status
Normal file → Executable file
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
selection=$(mcli ls minio | awk '{print $5}' | gum choose --limit=1)
|
selection=$(mc ls nas-local | awk '{print $5}' | gum choose --limit=1)
|
||||||
|
|
||||||
gum format -t markdown "# ${selection}"
|
gum format -t markdown "# ${selection}"
|
||||||
echo ""
|
echo ""
|
||||||
mcli replicate status "minio/${selection}"
|
mc replicate status "nas-local/${selection}"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user