sachin I want to get the number of files in a all the folders in one go in a particular path for folder in /path/to/your/folder/*; do echo "$(basename "$folder"): $(find "$folder" -type f | wc -l)"; done