find . ! -name "deposit.xml" -name "*.xml" -exec mv {} ./temp \;
find has -exec option using which we can execute commands with the result file as operand and use '! -name' option to exclude file.
find . ! -name "deposit.xml" -name "*.xml" -exec mv {} ./temp \;
find has -exec option using which we can execute commands with the result file as operand and use '! -name' option to exclude file.