DevOps & Infrastructure

Huawei Cloud OBS Dir Count

Count the number of directories (folders) in a Huawei Cloud OBS (Object Storage Service) bucket or under a bucket prefix, returning the count as an integer. Read-only: never creates, modifies, deletes, or uploads any bucket or object. Uses the `hcloud OBS ls -d` command (obsutil) with strict input validation. Triggers include: "count OBS directories", "how many folders are in the OBS bucket <bucket>", "number of directories under <prefix> in OBS bucket <bucket>", "统计OBS目录数量", "查询OBS目录数量", "数一下OBS桶里的文件夹数量", "count folders in an OBS bucket".

Publisher / source
huaweicloud/huaweicloud-skills (found on skills.sh)
Upstream record
huaweicloud/huaweicloud-skills
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
41296f85c2a00756f4bc1c9fd834aa340b6aa8ae05d4dc8e6f08e8dfa6703328