Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash count files in directory recursively matchingattern

ls -Uba1 | grep ^log | wc -l
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #count #files #directory #recursively #matchingattern
ADD COMMENT
Topic
Name
3+7 =