I want to list the number of directories under each subdirectory tree of the present directory. As there are too many directories, I can't go into individual directories and check. I would like to produce a report something like the one shown in the following picture:
The issue is: my server is giving some warning that the maximum limit of creating directories is reached. So I wanted to know which directory in my parent directory has the maximum sub-directories (excluding files),
debugfs -R "ncheck 53685" /dev/disk/by-label/…
e.g.sudo debugfs -R "ncheck 53685" /dev/disk/by-label/root
– ctrl-alt-delor Jul 29 '15 at 22:30