for id in \`find . -mtime +10 -name qf\\\* \| sed 's/\^....//'\`; do
mv qf\${id} /var/tmp/scott-20120104/ ;
mv df\${id} /var/tmp/scott-20120104/ ;
done
Sendmail: Remove Queued Messages
Posted on in system_administration
Posted on in system_administration
for id in \`find . -mtime +10 -name qf\\\* \| sed 's/\^....//'\`; do
mv qf\${id} /var/tmp/scott-20120104/ ;
mv df\${id} /var/tmp/scott-20120104/ ;
done