#!/bin/zsh

echo umask 077
for arw in `find /home/images/source -name "dsc?????.arw"` ; do
  jpg=${${arw/source/cache\/jpegchip}/arw/jpg}
  if [ ! -f $jpg ] ; then
        echo mv -iv $arw /tmp
  fi
done
