- Find all the quicktime movie files in the current directory that start with eight numeric characters in their names and delete them.
find . -maxdepth 1 -name '*.mov' | perl -ne 'if (/^\d{8}/) {`rm $_`}'
or same thing using a different approach
ls *.mov | grep -E ^[0-9]{8} | xargs rm