Change directory names to wildcard name.