Skip to main content

You are here

Finding the number of files inside a subdirectory

for i in `ls .`; do echo $i; ls -laR $i| grep -v ^[.dlt] | grep -v ^$ | wc -l; echo "--------------------" ; done

Premium Drupal Themes by Adaptivethemes