mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2025-01-18 15:53:45 +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
|
||||
|
||||
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}"
|
||||
echo ""
|
||||
mcli replicate status "minio/${selection}"
|
||||
mc replicate status "nas-local/${selection}"
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user