How to count the number of files in a repository folder

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

To count the number of files of a repository folder, access its folder and create a file with this content:

#!/bin/bash # count inodes for each directory LIST=`ls` for i in $LIST; do echo $i find $i -printf "%i\n" | sort -u | wc -l done

This will count how many files are content in each folder in the repository.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。