I don't quite understand what your command is, but the code
snippet below cycles thru all your files gzips each file and
calculates the md5sum. Filename and md5sum are written to a file.
Code:
for fn in $(ls ./source/*)
do
gzip $fn
echo -e $fn >> myfile
md5sum $fn.gz >> myfile
done
jlinkels