Print directory trees with glob filtering.