Zet - How do I list how many files are in the next level down subdirectories?
How do I list how many files are in the next level down subdirectories?
Use find
eg.
find . -mindepth 2 -maxdepth 2 -type f | cut -d "/" -f 2 | uniq -c
#bash
Use find
eg.
find . -mindepth 2 -maxdepth 2 -type f | cut -d "/" -f 2 | uniq -c
#bash