Hello Dear Community,
I would like to monitor file count under subfolders.
Checked couple of guides, but what I see I can monitor only single path not the path recursively(subfolders).
One of guide is this : https://www.meinekleinefarm.net/zabb...unt-for-linux/
It has good explanation but I'm looking much smarter way.
My folder structure may change from server to server.
Example paths
x server :
/opt/path/foo/failed/
/opt/path/bar/cooked/
y server :
/opt/path/bar/failed/
/opt/path/some/raw/
I want to have file count under those folders.
/opt/path is constant.
Thanks for helping
I would like to monitor file count under subfolders.
Checked couple of guides, but what I see I can monitor only single path not the path recursively(subfolders).
One of guide is this : https://www.meinekleinefarm.net/zabb...unt-for-linux/
It has good explanation but I'm looking much smarter way.
My folder structure may change from server to server.
Example paths
x server :
/opt/path/foo/failed/
/opt/path/bar/cooked/
y server :
/opt/path/bar/failed/
/opt/path/some/raw/
I want to have file count under those folders.
/opt/path is constant.
Thanks for helping
Comment