Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

find number of files in a directory linux

find -maxdepth 1 -type d | while read -r dir; do printf "%s:	" "$dir"; find "$dir" -type f | wc -l; done
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #find #number #files #directory #linux
ADD COMMENT
Topic
Name
3+2 =