#!/bin/bash for it in $(find . | grep "target$") do du -hs "$it" done