This one liner will do everything you need (edit your search to suit your needs by adding /store/01 -name "*.fits" -exec chmod -x+r {} \; instead of . -type f in my example ):
$ find . -type f -exec sh -c 'printf "%s %s \n" "$(ls -l $1)" "$(md5sum $1)"' '' '{}' '{}' \;
Example:
/etc/samba$ find . -type f -exec sh -c 'printf "%s %s \n" "$(ls -l $1)" "$(md5sum $1)"' '' '{}' '{}' \; -rw-r--r-- 1 root root 8 2010-03-09 02:03 ./gdbcommands 898c523d1c11feeac45538a65d00c838 ./gdbcommands -rw-r--r-- 1 root root 12464 2011-05-20 11:28 ./smb.conf 81ec21c32bb100e0855b96b0944d7b51 ./smb.conf -rw-r--r-- 1 root root 0 2011-06-27 10:57 ./dhcp.conf d41d8cd98f00b204e9800998ecf8427e ./dhcp.conf
To get the result as you wish, you can delete the $ 8 field as follows
/etc/samba$ find . -type f -exec sh -c 'printf "%s %s \n" "$(ls -l $1)" "$(md5sum $1)"' '' '{}' '{}' \; | awk '{$8=""; print $0}' -rw-r--r-- 1 root root 8 2010-03-09 02:03 898c523d1c11feeac45538a65d00c838 ./gdbcommands -rw-r--r-- 1 root root 12464 2011-05-20 11:28 81ec21c32bb100e0855b96b0944d7b51 ./smb.conf -rw-r--r-- 1 root root 0 2011-06-27 10:57 d41d8cd98f00b204e9800998ecf8427e ./dhcp.conf
NTN
source share