Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash count files in directory recursively matchingattern

find . -type f -name '*.log' -printf x | wc -c
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #count #files #directory #recursively #matchingattern
ADD COMMENT
Topic
Name
9+2 =