Categories Linux Get count of files in a Linux directory recursively Post author By Sergey.Lysenko Post date October 28, 2021 No Comments on Get count of files in a Linux directory recursively It is very simple: for i in */ .*/ ; do echo -n $i": " ; (find "$i" -type f | wc -l) ; done ← PHP 7.4 preloading feature for Magento → Show disk usage ignoring mounts Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.