Check all buckets
This commit is contained in:
parent
1987ebb052
commit
6006035a60
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ result2="${header}Customer;Total GB;Users"$'\n'
|
||||||
foundwrongcustomer=0
|
foundwrongcustomer=0
|
||||||
totalMB=0
|
totalMB=0
|
||||||
totalFiles=0
|
totalFiles=0
|
||||||
|
for remote in ${remotes[@]}; do
|
||||||
for remote in ${remotes}; do
|
|
||||||
project=${remote}
|
project=${remote}
|
||||||
buckets=$(rclone --config /root/.rclone.conf lsjson "${project}:" | jq -r '.[].Name' | grep -E -v '^statistics')
|
buckets=$(rclone --config /root/.rclone.conf lsjson "${project}:" | jq -r '.[].Name' | grep -E -v '^statistics')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue