Answers for "how to count all files on linux"

0

how to count all files on linux

for i in */ .*/ ; do 
    echo -n $i": " ; 
    (find "$i" -type f | wc -l) ; 
done
Posted by: Guest on March-21-2021

Code answers related to "how to count all files on linux"

Python Answers by Framework

Browse Popular Code Answers by Language