file-count is a powertools program that shows you the number of files in your
home directory or any directory that you pass as an argument. This can be
useful for comparing against the number of files from the quota command or
determining where you may have a large number of files (especially if they are
hidden).
Examples
Below are some examples of it's usage. Since file-count is a powertool, the powertools module must be loaded:
1
moduleloadpowertools
List file count of home directory
input
1
file-count
output
1
385162 /mnt/home/user/
List file count of all subdirectories in home directory
This includes hidden directories that may contain large numbers of files, like .conda.