#! /bin/bash

DIR="$1"
COMMAND="$2"
for file in "$DIR"/[a-z]*
do
	echo ${file}
	"$COMMAND" ${file}
done
